ayushtkn commented on code in PR #4312:
URL: https://github.com/apache/hive/pull/4312#discussion_r1191474658
##########
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/HiveCustomStorageHandlerUtils.java:
##########
@@ -71,4 +73,26 @@ public static void setWriteOperation(Configuration conf,
String tableName, Conte
conf.set(WRITE_OPERATION_CONFIG_PREFIX + tableName, operation.name());
}
+
+ public static boolean isWriteOperation(Configuration conf, String
tableName) {
Review Comment:
the conf used is different, that is used by FileSink, If I play with that
the projectSchema will consume it and leads to different world.
So, created a different for FileScan.
https://github.com/apache/hive/blob/dd3fd775406c2d621c42ef1adce2fa0f3b9acd39/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergSerDe.java#L160-L172
--
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]