Uh oh!
There was an error while loading. Please reload this page.
[fix](jdbc) Preserve query tvf column aliases across JDBC catalogs - #61939
Merged
Conversation
hello-stephen
commented
Mar 31, 2026
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
hubgeter
commented
Mar 31, 2026
ContributorAuthor
run buildall |
doris-robot
commented
Mar 31, 2026
TPC-H: Total hot run time: 26647 ms |
doris-robot
commented
Mar 31, 2026
TPC-DS: Total hot run time: 168433 ms |
hello-stephen
commented
Mar 31, 2026
Contributor
FE UT Coverage ReportIncrement line coverage |
morningman
commented
Mar 31, 2026
Contributor
/review |
Contributor
No issues found in this review. Critical checkpoints:
|
morningman
approved these changes
Apr 2, 2026
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
starocean999
approved these changes
Apr 3, 2026
morningman
approved these changes
Apr 4, 2026
Uh oh!
There was an error while loading. Please reload this page.
github-actionsBot
pushed a commit
that referenced
this pull request
Apr 4, 2026
…61939) ### What problem does this PR solve? Related PR: #34516 Problem Summary: Fix bug: `query()` passes the SQL through to the JDBC catalog directly, so the returned column names should follow the aliases defined in that SQL. For example, for: ```sql select * from query( 'catalog' = 'jdbc_catalog', 'query' = 'select a as x from test.t' ); ``` the output column name should be `x`, not the original source column name `a`.
github-actionsBot
pushed a commit
that referenced
this pull request
Apr 4, 2026
…61939) ### What problem does this PR solve? Related PR: #34516 Problem Summary: Fix bug: `query()` passes the SQL through to the JDBC catalog directly, so the returned column names should follow the aliases defined in that SQL. For example, for: ```sql select * from query( 'catalog' = 'jdbc_catalog', 'query' = 'select a as x from test.t' ); ``` the output column name should be `x`, not the original source column name `a`.
hubgeter added a commit
to hubgeter/doris
that referenced
this pull request
Apr 6, 2026
…pache#61939) ### What problem does this PR solve? Related PR: apache#34516 Problem Summary: Fix bug: `query()` passes the SQL through to the JDBC catalog directly, so the returned column names should follow the aliases defined in that SQL. For example, for: ```sql select * from query( 'catalog' = 'jdbc_catalog', 'query' = 'select a as x from test.t' ); ``` the output column name should be `x`, not the original source column name `a`.
yiguolei pushed a commit
that referenced
this pull request
Apr 8, 2026
hubgeter added a commit
to hubgeter/doris
that referenced
this pull request
Apr 9, 2026
Merged
16 tasks
morningman pushed a commit
that referenced
this pull request
Apr 13, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Related PR: #34516
Problem Summary:
Fix bug:
query()passes the SQL through to the JDBC catalog directly, so the returned column names should follow the aliases defined in that SQL.For example, for:
the output column name should be
x, not the original source column namea.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)