zhengruifeng commented on code in PR #58385:
URL: https://github.com/apache/spark/pull/58385#discussion_r3932800346


##########
sql/api/src/main/scala/org/apache/spark/sql/functions.scala:
##########
@@ -14858,6 +15263,10 @@ object functions {
    * @since 4.0.0
    * @return
    *   Returns a column of the type specified by the `targetType` argument.
+   *
+   * @note
+   *   Affected by these public SQL configurations:
+   *   - `spark.sql.timestampType`

Review Comment:
   Confirmed. VariantGet extends TimeZoneAwareExpression and passes its 
resolved zoneId through VariantCastArgs to timestamp-related variant casts. I 
added spark.sql.session.timeZone to all variant_get and try_variant_get Scala 
overloads and their Python docstrings, while retaining spark.sql.timestampType. 
Fixed in fbd01c0a794.



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