milastdbx commented on code in PR #47611:
URL: https://github.com/apache/spark/pull/47611#discussion_r1724707196
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -1487,6 +1487,13 @@ object SQLConf {
.intConf
.createWithDefault(200)
+ val DATA_SOURCE_DONT_ASSERT_ON_PREDICATE =
+ buildConf("spark.sql.dataSource.skipAssertOnPredicatePushdown")
+ .internal()
+ .doc("Enable skipping assert when expression in not translated to
predicate.")
+ .booleanConf
+ .createWithDefault(!Utils.isTesting)
Review Comment:
flag is - DONT_ASSERT and we want to assert in testing hence default
`!Utils.isTesting`.
--
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]