qlong commented on code in PR #54394:
URL: https://github.com/apache/spark/pull/54394#discussion_r3400574120


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/V2ExpressionBuilder.scala:
##########
@@ -333,6 +335,20 @@ class V2ExpressionBuilder(e: Expression, isPredicate: 
Boolean = false) extends L
         case _ =>
           None
       }
+    case v: VariantGet
+        if v.path.foldable
+        && v.child.isInstanceOf[Attribute] =>
+      val colName = v.child.asInstanceOf[Attribute].name
+      val path = v.path.eval().toString
+      val typeName = v.dataType.catalogString

Review Comment:
   Fixed with new connector expression. timezoneId is preserved. 



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