-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect Hive statistics_enabled session in Glue metastore
Before the change, the Hive Glue metastore wiring would respect the `hive.table-statistics-enabled` configuration property, but not the `statistics_enabled` session property. After the change, handling of stats for Hive Glue metastore is same as for other metastores. That means in particular that some of the `DefaultGlueColumnStatisticsProvider` code will execute implicitly, as not all stats-related operations are guarded by `statistics_enabled` toggle today (see e.g. `SemiTransactionalHiveMetastore` and implicit stats updates after table creation or alteration). This is considered not a blocker.
- Loading branch information
Showing
5 changed files
with
11 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 0 additions & 69 deletions
69
...c/main/java/io/trino/plugin/hive/metastore/glue/DisabledGlueColumnStatisticsProvider.java
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...java/io/trino/plugin/hive/metastore/glue/DisabledGlueColumnStatisticsProviderFactory.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters