-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-28595][SQL] explain should not trigger partition listing #25328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we do a "store and recover the old conf" instead?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the test, we assume that every test suite will keep the shared |
||
| super.afterAll() | ||
| } | ||
|
|
||
| private val maxI = 5 | ||
| private val maxJ = 13 | ||
| private lazy val df = (0 until 50).map(i => (i % maxI, i % maxJ, i.toString)).toDF("i", "j", "k") | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.