Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failure when non-lowercase column exists in BigQuery query function #16077

Merged
merged 1 commit into from
Feb 26, 2023

Conversation

RameshByndoor
Copy link
Member

This patch fixes #16075

I have taken the reference from the DefaultJdbcMetadata and it works with that approach.
Another workaround without the fix is always to alias the column names to be lowercase.

@cla-bot cla-bot bot added the cla-signed label Feb 12, 2023
@RameshByndoor RameshByndoor requested a review from ebyhr February 12, 2023 11:32
Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ebyhr ebyhr changed the title Big query PTF queries fails when projection contains now lowercase co… Fix failure when non-lowercase column exists in BigQuery query function Feb 15, 2023
@ebyhr
Copy link
Member

ebyhr commented Feb 15, 2023

/test-with-secrets sha=8f5fbd8a832ddab7bc1a638b45dbd9d0a47a39f3

@github-actions
Copy link

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/4186166073

@ebyhr ebyhr self-requested a review February 26, 2023 07:56
@ebyhr ebyhr merged commit bd7ad10 into trinodb:master Feb 26, 2023
@github-actions github-actions bot added this to the 409 milestone Feb 26, 2023
@ebyhr ebyhr mentioned this pull request Feb 26, 2023
@ebyhr ebyhr added the bigquery BigQuery connector label Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bigquery BigQuery connector cla-signed
Development

Successfully merging this pull request may close these issues.

Big query PTF queries fails when projection contains now lowercase column names
2 participants