MaxGekk commented on a change in pull request #23811: [SPARK-26902][SQL]
Support java.time.Instant as an external type of TimestampType
URL: https://github.com/apache/spark/pull/23811#discussion_r259406431
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1659,6 +1659,12 @@ object SQLConf {
"a SparkConf entry.")
.booleanConf
.createWithDefault(true)
+
+ val TIMESTAMP_EXTERNAL_TYPE = buildConf("spark.sql.catalyst.timestampType")
Review comment:
> it may be 'legacy' but not sure it's worth the behavior change.
The SQL config `spark.sql.catalyst.timestampType` has default value
`Timestamp` which preserves current behavior. When an user wants to import
`java.time.Instant` from Spark, she/he can change the config to point out the
Java timestamp class.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]