Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 7, 2025

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.
@github-actions github-actions bot requested a review from morrySnow as a code owner November 7, 2025 03:43
@hello-stephen
Copy link
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?

@dataroaring dataroaring closed this Nov 7, 2025
@dataroaring dataroaring reopened this Nov 7, 2025
@hello-stephen
Copy link
Contributor

run buildall

@morningman morningman merged commit 80e7ffb into branch-3.1 Nov 7, 2025
23 checks passed
@github-actions github-actions bot deleted the auto-pick-57745-branch-3.1 branch November 7, 2025 06:38
Sign up for free to 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.

6 participants