Github user blrunner commented on a diff in the pull request:
https://github.com/apache/tajo/pull/653#discussion_r37881184
--- Diff:
tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto ---
@@ -247,13 +240,15 @@ message PartitionDescProto {
required string partitionName = 1;
repeated PartitionKeyProto partitionKeys = 2;
optional string path = 3;
--- End diff --
When adding or dropping partition, CatalogClient calls alter table API with
AlterTableDescProto. and the proto maintains partition informations to
PartitionDescProto. When adding partition, the partition path will be not null.
But when dropping partition, the path will be null because Tajo can delete
partition informs in CatalogStore with partition name.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---