cloud-fan commented on a change in pull request #24567: [SPARK-27638][SQL]: 
Cast string to date/timestamp in binary comparisons with dates/timestamps
URL: https://github.com/apache/spark/pull/24567#discussion_r283253956
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -1760,6 +1760,13 @@ object SQLConf {
     .internal()
     .intConf
     .createWithDefault(Int.MaxValue)
+
+  val LEGACY_CAST_DATE_TIMESTAMP_TO_STRING =
+    buildConf("spark.sql.legacy.binaryComparison.castDateTimestampToString")
+      .doc("If it is set to true, date/timestamp will cast to string in binary 
comparisons " +
 
 Review comment:
   can we also add a migration guide for this behavior change and mention this 
config?

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

Reply via email to