-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Remove trino-delta-lake dependency on trino-hive-hadoop2 #11465
Remove trino-delta-lake dependency on trino-hive-hadoop2 #11465
Conversation
This speeds up a build when the build is parallel.
@@ -230,7 +230,7 @@ public DistributedQueryRunner build() | |||
} | |||
|
|||
HiveMetastore metastore = this.metastore.apply(queryRunner); | |||
queryRunner.installPlugin(new TestingHivePlugin(metastore, module, cachingDirectoryLister)); | |||
queryRunner.installPlugin(new TestingHivePlugin(Optional.of(metastore), module, cachingDirectoryLister)); |
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.
We should also restrict invoking populateData
if the metastore is null.. we might need to configure it as read-only query runner.
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.
We should also restrict invoking
populateData
if the metastore is null..
@Praveen2112 why?
anyway, it's always present here anyway
This speeds up a build when the build is parallel.