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


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/InputFormatConfig.java:
##########
@@ -88,6 +88,7 @@ private InputFormatConfig() {
   public static final String CATALOG_CLASS_TEMPLATE = 
"iceberg.catalog.%s.catalog-impl";
   public static final String CATALOG_DEFAULT_CONFIG_PREFIX = 
"iceberg.catalog-default.";
   public static final String QUERY_FILTERS = "iceberg.query.filters";
+  public static final String INSERT_WRITE_ORDER = "iceberg.write-order";

Review Comment:
   can't we use iceberg config: TableProperties.DEFAULT_SORT_ORDER?
   ````
     void setSortOrder(TableMetadata metadata, Map<String, String> parameters) {
       parameters.remove(TableProperties.DEFAULT_SORT_ORDER);
       if (exposeInHmsProperties()
           && metadata.sortOrder() != null
           && metadata.sortOrder().isSorted()) {
         String sortOrder = SortOrderParser.toJson(metadata.sortOrder());
         setField(parameters, TableProperties.DEFAULT_SORT_ORDER, sortOrder);
       }
     }
   ````



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