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 BigQuery case-insensitive mapping when cache is disabled #23698

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

pajaks
Copy link
Member

@pajaks pajaks commented Oct 7, 2024

Description

When cache is disabled, all values put into cache are not persisted, causing cache-insensitive mapping failing
This PR decouples mapping from cache handling

Release notes

## BigQuery
* Fix failure when `bigquery.case-insensitive-name-matching` is enabled and 
  `bigquery.case-insensitive-name-matching.cache-ttl` is `0m`. ({issue}`23698`)

@cla-bot cla-bot bot added the cla-signed label Oct 7, 2024
@pajaks pajaks requested a review from ebyhr October 7, 2024 09:28
@github-actions github-actions bot added the bigquery BigQuery connector label Oct 7, 2024
@pajaks pajaks force-pushed the pajaks/bigquery_cache_disabled_fix branch from 80e100f to 650879f Compare October 7, 2024 09:50
@ebyhr
Copy link
Member

ebyhr commented Oct 7, 2024

/test-with-secrets sha=650879fffb6d1df4af43d237a02d36a27fa0246b

Copy link

github-actions bot commented Oct 7, 2024

The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/11214297178

Copy link
Member

@nineinchnick nineinchnick left a comment

Choose a reason for hiding this comment

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

Put the PR description in the commit message.

@pajaks pajaks force-pushed the pajaks/bigquery_cache_disabled_fix branch 2 times, most recently from e82cd2e to 2ac20ed Compare October 8, 2024 07:55
@pajaks pajaks requested a review from ebyhr October 8, 2024 08:01
When cache is disabled, all values put into cache are not persisted, causing cache-insensitive mapping failing
This PR decouples mapping from cache handling
@pajaks pajaks force-pushed the pajaks/bigquery_cache_disabled_fix branch from 2ac20ed to 8a37172 Compare October 8, 2024 08:10
@ebyhr
Copy link
Member

ebyhr commented Oct 8, 2024

/test-with-secrets sha=8a37172f0d0172c73c30650988d4fb2135dcb54b

Copy link

github-actions bot commented Oct 8, 2024

The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/11231655980

@ebyhr ebyhr merged commit 9f267c1 into trinodb:master Oct 8, 2024
16 checks passed
@github-actions github-actions bot added this to the 461 milestone Oct 8, 2024
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.

5 participants