cloud-fan commented on a change in pull request #31413:
URL: https://github.com/apache/spark/pull/31413#discussion_r569906992
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedReadSuite.scala
##########
@@ -148,19 +151,53 @@ abstract class BucketedReadSuite extends QueryTest with
SQLTestUtils with Adapti
if (invalidBuckets.nonEmpty) {
fail(s"Buckets ${invalidBuckets.mkString(",")} should have been
pruned from:\n$plan")
}
+
+ withSQLConf(SQLConf.BUCKETING_ENABLED.key -> "false") {
+ // Bucket pruning should still work when bucketing is disabled
Review comment:
then do we have a config to turn on/off bucketing file pruning, or it's
always applied?
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]