Skip to content

branch-3.1: [fix](jdbc) Set the correct jdbctable id for query tvf #57745 - #57798

Merged
morningman merged 1 commit into
branch-3.1from
auto-pick-57745-branch-3.1
Nov 7, 2025
Merged

branch-3.1: [fix](jdbc) Set the correct jdbctable id for query tvf #57745#57798
morningman merged 1 commit into
branch-3.1from
auto-pick-57745-branch-3.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #57745

When using `query()` to query two different catalogs in a single SQL
statement, due to the hard-coded tableid, the BE will assume that all
scanNodes are querying the same table. This will cause scanner reuse,
resulting in different catalogs using the same JDBC connection.
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@morningman
morningman merged commit 80e7ffb into branch-3.1Nov 7, 2025
23 checks passed
@github-actions
github-actionsBot deleted the auto-pick-57745-branch-3.1 branch November 7, 2025 06:38
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@hello-stephen@morrySnow@morningman@dataroaring@zy-kkk