Skip to content

[SPARK-22416][SQL] Move OrcOptions from sql/hive to sql/core #19636

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

Closed
wants to merge 3 commits into from
Closed

[SPARK-22416][SQL] Move OrcOptions from sql/hive to sql/core #19636

wants to merge 3 commits into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Nov 1, 2017

What changes were proposed in this pull request?

According to the discussion on SPARK-15474, we will add new OrcFileFormat in sql/core module and allow users to use both old and new OrcFileFormat.

To do that, OrcOptions should be visible in sql/core module, too. Previously, it was private[orc] in sql/hive. This PR removes private[orc] because we don't use private[sql] in sql/execution package after SPARK-16964.

How was this patch tested?

Pass the Jenkins with the existing tests.

@SparkQA
Copy link

SparkQA commented Nov 1, 2017

Test build #83306 has started for PR 19636 at commit c9ca3b6.

@dongjoon-hyun
Copy link
Member Author

Retest this please.

@SparkQA
Copy link

SparkQA commented Nov 1, 2017

Test build #83308 has started for PR 19636 at commit a2ae1ad.

@@ -27,7 +27,7 @@ import org.apache.spark.sql.internal.SQLConf
/**
* Options for the ORC data source.
*/
private[orc] class OrcOptions(
private[sql] class OrcOptions(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe private[sql] can be removed per SPARK-16964.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @HyukjinKwon !

@dongjoon-hyun
Copy link
Member Author

Retest this please.

1 similar comment
@dongjoon-hyun
Copy link
Member Author

Retest this please.

Copy link
Contributor

@jiangxb1987 jiangxb1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dongjoon-hyun
Copy link
Member Author

Thank you for review, @jiangxb1987 .

@SparkQA
Copy link

SparkQA commented Nov 2, 2017

Test build #83317 has finished for PR 19636 at commit f157cfd.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class OrcOptions(

@dongjoon-hyun
Copy link
Member Author

Hi, @cloud-fan and @gatorsmile .
Could you review this PR?

@cloud-fan
Copy link
Contributor

LGTM, merging to master!

@asfgit asfgit closed this in e3f67a9 Nov 2, 2017
@dongjoon-hyun
Copy link
Member Author

Thank you so much, @cloud-fan , @HyukjinKwon , and @jiangxb1987 !

@dongjoon-hyun dongjoon-hyun deleted the SPARK-22416 branch November 2, 2017 17:43
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.

5 participants