ayushtkn commented on code in PR #4880:
URL: https://github.com/apache/hive/pull/4880#discussion_r1399146580


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -212,6 +216,8 @@ public class HiveIcebergStorageHandler implements 
HiveStoragePredicateHandler, H
   public static final String MERGE_ON_READ = "merge-on-read";
   public static final String STATS = "/stats/snap-";
 
+  public static final String TABLE_DEFAULT_LOCATION = "TABLE_DEFAULT_LOCATION";

Review Comment:
   ``TABLE_DEFAULT_LOCATION`` is the constant that we will replace the default 
location with, say /user/hive/warehouse/database/table1 is the default 
location, so in the metadata.json path, this will be replaced by 
``TABLE_DEFAULT_LOCATION``
   
   so it will look like TABLE_DEFAULT_LOCATION/metadata/abc-metadata.json
   
   That is what Janos use case is: In ranger he can configure policies to allow 
 paths within ``TABLE_DEFAULT_LOCATION``



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