deniskuzZ commented on code in PR #4348:
URL: https://github.com/apache/hive/pull/4348#discussion_r1232278797


##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/StatsSetupConst.java:
##########
@@ -79,6 +80,21 @@ public String getAggregator(Configuration conf) {
     public abstract String getAggregator(Configuration conf);
   }
 
+  public enum IcebergStatsSource {
+    ICEBERG,
+    METASTORE;
+
+    public static IcebergStatsSource fromString(String value) throws 
MetaException {

Review Comment:
   would be better to define lookup map for this, see OperationType



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to