MaxGekk commented on a change in pull request #33176:
URL: https://github.com/apache/spark/pull/33176#discussion_r662503528
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -2820,6 +2821,24 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ object TimestampTypes extends Enumeration {
+ val TIMESTAMP_NTZ, TIMESTAMP_LTZ = Value
+ }
+
+ val TIMESTAMP_TYPE =
+ buildConf("spark.sql.timestampType")
+ .doc("Configures the default timestamp type of Spark SQL, including SQL
DDL and Cast " +
+ s"clause. Setting the configuration as
${TimestampTypes.TIMESTAMP_NTZ.toString} will " +
Review comment:
I thought the compiler automatically calls the `toString` method in
string interpolations, so, you can skip it. Or I am wrong?
--
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]