hsnusonic commented on a change in pull request #2073:
URL: https://github.com/apache/hive/pull/2073#discussion_r600173030



##########
File path: 
standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift
##########
@@ -1249,6 +1249,24 @@ struct ShowCompactResponse {
     1: required list<ShowCompactResponseElement> compacts,
 }
 
+struct GetLatestCompactionInfoRequest {
+    1: required string dbname,
+    2: required string tablename,
+    3: optional list<string> partitionnames,
+}
+
+struct LatestCompactionInfo {
+    1: required i64 id,
+    2: optional string partitionname,
+    3: required CompactionType type,
+}
+
+struct GetLatestCompactionInfoResponse {
+    1: required string dbname,
+    2: required string tablename,

Review comment:
       @pvary I removed these two fields in response. This API is required by 
metadata cache server to get the latest compaction event for a table/partition 
so we need to filter by table/partition.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to