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


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/TransformSpec.java:
##########
@@ -66,11 +66,63 @@ public void setTransformParam(Optional<Integer> 
transformParam) {
     this.transformParam = transformParam;
   }
 
+  public String transformTypeString() {
+    if (transformType == null) {
+      return null;
+    }
+    if (transformParam.isPresent()) {
+      return transformType.name() + "[" + transformParam.get() + "]";

Review Comment:
   it won't match the value returned by Iceberg, there it is [
   
   
https://github.com/apache/iceberg/blob/4958663b4c863a44e4895ecf965fabf541083b39/api/src/main/java/org/apache/iceberg/transforms/Truncate.java#L160-L161
   
   



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