Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Feb 25, 2016

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.


// Make sure we start with the default test configs even after clear
TestSQLContext.overrideConfs.map {
TestSQLContext.overrideConfs.foreach {
Copy link
Contributor Author

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

@rxin
Copy link
Contributor Author

rxin commented Feb 25, 2016

cc @cloud-fan for review

@SparkQA
Copy link

SparkQA commented Feb 25, 2016

Test build #51936 has finished for PR 11363 at commit 3bb44da.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Feb 25, 2016

Test build #51937 has finished for PR 11363 at commit acbb3b6.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Feb 25, 2016

Test build #51942 has finished for PR 11363 at commit cb751e7.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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
Copy link
Contributor

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.

Copy link
Contributor

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.

@liancheng
Copy link
Contributor

LGTM

@liancheng
Copy link
Contributor

Merged to master.

@asfgit asfgit closed this in 2b2c8c3 Feb 25, 2016
@cloud-fan
Copy link
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants