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


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -1038,6 +1050,28 @@ static String encodeString(String rawString) {
     return 
HiveConf.EncoderDecoderFactory.URL_ENCODER_DECODER.encode(rawString);
   }
 
+  static String getLocation(String location, String defaultLocation, 
Configuration conf) {
+    if (location == null || defaultLocation == null) {
+      return location;

Review Comment:
   We are typically attempting to mask the location here, if the location is 
null, we can't mask the default location or there is nothing to mask in the 
location, if the Client considers it invalid it will throw during auth



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