-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-13486][SQL] Move SQLConf into an internal package #11363
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
Conversation
|
|
||
| // Make sure we start with the default test configs even after clear | ||
| TestSQLContext.overrideConfs.map { | ||
| TestSQLContext.overrideConfs.foreach { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found a potential bug here and fixed it
|
cc @cloud-fan for review |
|
Test build #51936 has finished for PR 11363 at commit
|
|
Test build #51937 has finished for PR 11363 at commit
|
|
Test build #51942 has finished for PR 11363 at commit
|
| import org.apache.spark.executor.DataReadMethod | ||
| import org.apache.spark.sql.{SQLConf, SQLContext} | ||
| import org.apache.spark.sql.internal.SQLConf | ||
| import org.apache.spark.sql.SQLContext |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import order is wrong here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, weird, Scala style linter passed...
I think it's wrong because classes/objects inside the sql package should be put before those in sql.internal package.
Anyway, let's put it aside as long as the linter passes.
|
LGTM |
|
Merged to master. |
|
LGTM |
What changes were proposed in this pull request?
This patch moves SQLConf into org.apache.spark.sql.internal package to make it very explicit that it is internal. Soon I will also submit more API work that creates implementations of interfaces in this internal package.
How was this patch tested?
If it compiles, then the refactoring should work.