Skip to content

Commit

Permalink
Add writeId and stats fields in Partition
Browse files Browse the repository at this point in the history
Delete and insert Hive ACID operations must update the writeId
of partitions as part of commit, and our hive_metastore.thrift doesn't
have writeId.  This commit adds that field as seen in the master hive
branch, as well as two optional statistics fields, isStatsCompliant
and colStats.
  • Loading branch information
djsstarburst committed Sep 21, 2020
1 parent 5cf996f commit a7ad75c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/thrift/hive_metastore.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ struct Partition {
6: StorageDescriptor sd,
7: map<string, string> parameters,
8: optional PrincipalPrivilegeSet privileges,
9: optional string catName
9: optional string catName,
10: optional i64 writeId=-1
}

struct PartitionWithoutSD {
Expand Down

0 comments on commit a7ad75c

Please sign in to comment.