maryannxue commented on a change in pull request #25328: [SPARK-28595][SQL] 
explain should not trigger partition listing
URL: https://github.com/apache/spark/pull/25328#discussion_r311096949
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedReadSuite.scala
 ##########
 @@ -49,6 +49,16 @@ class BucketedReadWithoutHiveSupportSuite extends 
BucketedReadSuite with SharedS
 abstract class BucketedReadSuite extends QueryTest with SQLTestUtils {
   import testImplicits._
 
+  protected override def beforeAll(): Unit = {
+    super.beforeAll()
+    
spark.sessionState.conf.setConf(SQLConf.LEGACY_BUCKETED_TABLE_SCAN_OUTPUT_ORDERING,
 true)
+  }
+
+  protected override def afterAll(): Unit = {
+    
spark.sessionState.conf.unsetConf(SQLConf.LEGACY_BUCKETED_TABLE_SCAN_OUTPUT_ORDERING)
 
 Review comment:
   Should we do a "store and recover the old conf" instead?

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