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

Respect hive.metastore-stats-cache-ttl in Glue v2 #21926

Conversation

findepi
Copy link
Member

@findepi findepi commented May 10, 2024

No description provided.

@findepi findepi added the no-release-notes This pull request does not require release notes entry label May 10, 2024
@cla-bot cla-bot bot added the cla-signed label May 10, 2024
@github-actions github-actions bot added the hive Hive connector label May 10, 2024
@findepi findepi requested a review from electrum May 10, 2024 20:09
@@ -87,7 +87,7 @@ public InMemoryGlueCache(Duration metadataCacheTtl, Duration columnStatisticsCac
this.allFunctionsCache = buildCache(metadataCacheTtlMillis, maximumSize, ValueHolder::new);
this.functionCache = buildCache(metadataCacheTtlMillis, maximumSize, ValueHolder::new);

OptionalLong columnStatisticsCacheTtlMillis = OptionalLong.of(metadataCacheTtl.toMillis());
OptionalLong columnStatisticsCacheTtlMillis = OptionalLong.of(columnStatisticsCacheTtl.toMillis());
Copy link
Member

Choose a reason for hiding this comment

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

Variable name should be statsCacheTtl instead of columnStatisticsCacheTtl

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks, fixed

@findepi findepi merged commit 6d20ac2 into master May 11, 2024
67 checks passed
@findepi findepi deleted the findepi/respect-hive-metastore-stats-cache-ttl-in-glue-v2-bb0808 branch May 11, 2024 14:38
@github-actions github-actions bot added this to the 448 milestone May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed hive Hive connector no-release-notes This pull request does not require release notes entry
Development

Successfully merging this pull request may close these issues.

None yet

2 participants