Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/21941#discussion_r207018987
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
@@ -1451,6 +1451,15 @@ object SQLConf {
.intConf
.checkValues((1 to 9).toSet + Deflater.DEFAULT_COMPRESSION)
.createWithDefault(Deflater.DEFAULT_COMPRESSION)
+
+ val SETOPS_PRECEDENCE_ENFORCED =
+ buildConf("spark.sql.setops.precedence.enforced")
+ .doc("When set to true and order of evaluation is not specified by
parentheses, " +
+ "INTERSECT operations are performed before any UNION, EXCEPT amd
MINUS operations. " +
+ "When set to false and the order of evaluation is not specified by
parentheses, the" +
+ "set operations are performed from left to right as they appear in
the query.")
+ .booleanConf
--- End diff --
let us mark it internal.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]