You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/07/02 07:53:20 UTC

[GitHub] [iceberg] szehon-ho commented on a change in pull request #2240: Core: Auto promote sorted column metrics to truncate(16)

szehon-ho commented on a change in pull request #2240:
URL: https://github.com/apache/iceberg/pull/2240#discussion_r662813814



##########
File path: core/src/main/java/org/apache/iceberg/MetricsModes.java
##########
@@ -150,6 +150,19 @@ public String toString() {
     }
   }
 
+  /**
+   * Auto promote sorted columns to truncate(16) if default is set at Counts or None.
+   * @param defaultMode default mode
+   * @return mode to use
+   */
+  public static MetricsMode promoteSortedColumnDefault(MetricsMode defaultMode) {

Review comment:
       Done




-- 
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: issues-unsubscribe@iceberg.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org