-
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
Remove table layouts from Hive #689
Conversation
presto-spi/src/main/java/io/prestosql/spi/connector/ConnectorMetadata.java
Outdated
Show resolved
Hide resolved
presto-spi/src/main/java/io/prestosql/spi/connector/ConnectorMetadata.java
Outdated
Show resolved
Hide resolved
presto-spi/src/main/java/io/prestosql/spi/connector/ConnectorMetadata.java
Show resolved
Hide resolved
37b6dae
to
65e99a0
Compare
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.
Some initial comments. I'm still reviewing the "Remove table layouts from Hive" commit
presto-main/src/main/java/io/prestosql/operator/MetadataDeleteOperator.java
Outdated
Show resolved
Hide resolved
presto-main/src/main/java/io/prestosql/sql/planner/optimizations/AddExchanges.java
Show resolved
Hide resolved
presto-main/src/main/java/io/prestosql/sql/planner/plan/MetadataDeleteNode.java
Outdated
Show resolved
Hide resolved
a1038b9
to
e078200
Compare
This should wait for #731. The legacy PushPredicateIntoTableScan logic processes the predicates through DomainTranslator, which normalizes expressions in the same way UnwrapCastsInComparison in that PR does. However, the normalization is not done for the new |
presto-hive/src/main/java/io/prestosql/plugin/hive/HivePartitionManager.java
Outdated
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/HivePartitionManager.java
Show resolved
Hide resolved
presto-hive/src/test/java/io/prestosql/plugin/hive/TestHiveIntegrationSmokeTest.java
Outdated
Show resolved
Hide resolved
presto-hive/src/test/java/io/prestosql/plugin/hive/TestHiveIntegrationSmokeTest.java
Outdated
Show resolved
Hide resolved
presto-hive/src/test/java/io/prestosql/plugin/hive/parquet/TestFullParquetReader.java
Outdated
Show resolved
Hide resolved
presto-hive/src/test/java/io/prestosql/plugin/hive/parquet/TestParquetReader.java
Outdated
Show resolved
Hide resolved
@@ -329,7 +332,11 @@ public ConnectorTableHandle getTableHandleForStatisticsCollection(ConnectorSessi | |||
} | |||
}); | |||
|
|||
return handle; | |||
HiveTableHandle table = handle; | |||
return partitionValuesList |
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.
Why is this needed now?
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.
The listing has to be done somewhere. Doing it here makes sense as we'd otherwise need to move this into HivePartitionManager.getOrLoadPartitions()
, with the special case logic for the analyze partition values list.
presto-hive/src/main/java/io/prestosql/plugin/hive/HiveMetadata.java
Outdated
Show resolved
Hide resolved
@martint updated |
No description provided.