-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Avoid extra TrinoInputFile#lastModified calls in hive filesystem cache #23327
Conversation
2a21368
to
77d7d82
Compare
Typo in the first commit title |
plugin/trino-hive/src/main/java/io/trino/plugin/hive/cache/HiveCacheKeyProvider.java
Outdated
Show resolved
Hide resolved
77d7d82
to
64de4f6
Compare
plugin/trino-hive/src/main/java/io/trino/plugin/hive/cache/HiveCacheKeyProvider.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/main/java/io/trino/plugin/hive/cache/HiveCacheKeyProvider.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/main/java/io/trino/plugin/hive/cache/HiveCacheKeyProvider.java
Outdated
Show resolved
Hide resolved
9312459
to
6f77c25
Compare
/test-with-secrets sha=6f77c254df428a126486fdf73b928b83759597b9 |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/10768734494 |
@@ -112,11 +108,6 @@ public void testCacheFileOperations() | |||
.add(new CacheOperation("Alluxio.writeCache", "key=p3/")) | |||
.add(new CacheOperation("Alluxio.writeCache", "key=p4/")) | |||
.add(new CacheOperation("Alluxio.writeCache", "key=p5/")) | |||
.add(new CacheOperation("InputFile.lastModified", "key=p1/")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
niceeeee
LGTM but I'd like @electrum to chime in in regard to the new API |
@raunaqmorarka can you rebase? My changes conflicted with yours |
6f77c25
to
d96dfb9
Compare
Description
Avoid extra TrinoInputFile#lastModified calls in hive filesystem cache
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text: