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
Add register_partition, unregister_partition procedures #2692
Conversation
1c69c94
to
98ccb99
Compare
presto-hive/src/main/java/io/prestosql/plugin/hive/CreateEmptyPartitionProcedure.java
Outdated
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/CreateEmptyPartitionProcedure.java
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/SyncPartitionMetadataProcedure.java
Outdated
Show resolved
Hide resolved
...to-hive/src/main/java/io/prestosql/plugin/hive/metastore/SemiTransactionalHiveMetastore.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/main/java/io/prestosql/plugin/hive/RegisterPartitionProcedure.java
Outdated
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/RegisterPartitionProcedure.java
Show resolved
Hide resolved
presto-product-tests/src/main/java/io/prestosql/tests/hive/TestHivePartitionProcedures.java
Outdated
Show resolved
Hide resolved
presto-product-tests/src/main/java/io/prestosql/tests/hive/TestHivePartitionProcedures.java
Outdated
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/file/FileHiveMetastore.java
Outdated
Show resolved
Hide resolved
...to-hive/src/main/java/io/prestosql/plugin/hive/metastore/SemiTransactionalHiveMetastore.java
Outdated
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/RegisterPartitionProcedure.java
Outdated
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/UnregisterPartitionProcedure.java
Outdated
Show resolved
Hide resolved
3df9ff4
to
f94b928
Compare
presto-hive/src/main/java/io/prestosql/plugin/hive/CreateEmptyPartitionProcedure.java
Outdated
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/RegisterPartitionProcedure.java
Outdated
Show resolved
Hide resolved
...to-hive/src/main/java/io/prestosql/plugin/hive/metastore/SemiTransactionalHiveMetastore.java
Outdated
Show resolved
Hide resolved
...to-hive/src/main/java/io/prestosql/plugin/hive/metastore/SemiTransactionalHiveMetastore.java
Outdated
Show resolved
Hide resolved
...to-hive/src/main/java/io/prestosql/plugin/hive/metastore/SemiTransactionalHiveMetastore.java
Outdated
Show resolved
Hide resolved
presto-hive/src/test/java/io/prestosql/plugin/hive/TestHiveIntegrationSmokeTest.java
Outdated
Show resolved
Hide resolved
06cedb5
to
0fec4d2
Compare
Failed due to: |
56d0033
to
29dfb6d
Compare
29dfb6d
to
138431b
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.
I added some editorial fixups. Thought this will more efficient this way.
presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/file/FileHiveMetastore.java
Show resolved
Hide resolved
presto-hive/src/main/java/io/prestosql/plugin/hive/RegisterPartitionProcedure.java
Show resolved
Hide resolved
1c1e215
to
2e66901
Compare
Failed due to #2616 |
|
2e66901
to
26f8a31
Compare
…HiveMetastore in Hive connector
26f8a31
to
6f58642
Compare
Merged as 783cb68, thanks! |
Hive: Add partition manipulation procedures:
system.register_partition(schema_name, table_name, location, partition_columns, partition_values)
Registers existing location as a partition in metastore for specified table.
system.unregister_partition(schema_name, table_name, partition_columns, partition_values)
Unregisters given, existing partition in metastore for specified table.
The referenced partition data location is not deleted.