Skip to content
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

[SPARK-30578][SQL][TEST] Explicitly set conf to use DSv2 for orc in OrcFilterSuite #27285

Closed
wants to merge 3 commits into from

Conversation

Ngone51
Copy link
Member

@Ngone51 Ngone51 commented Jan 20, 2020

What changes were proposed in this pull request?

Explicitly set conf to let orc use DSv2 in OrcFilterSuite in both v1.2 and v2.3.

Why are the changes needed?

Tests should not rely on default conf when they're going to test something intentionally, which can be fail when conf changes.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass Jenkins.

@Ngone51
Copy link
Member Author

Ngone51 commented Jan 20, 2020

cc @cloud-fan @dongjoon-hyun

@@ -44,6 +46,11 @@ import org.apache.spark.sql.types._
*/
class OrcFilterSuite extends OrcTest with SharedSparkSession {

override protected def sparkConf: SparkConf =
Copy link
Contributor

Choose a reason for hiding this comment

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

shall we do the same for the one in v1.2?

Copy link
Member

Choose a reason for hiding this comment

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

+1 for @cloud-fan 's comment.

Copy link
Member Author

Choose a reason for hiding this comment

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

Addressed for v1.2. Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Please update the PR title and description accordingly.

@SparkQA
Copy link

SparkQA commented Jan 20, 2020

Test build #117070 has finished for PR 27285 at commit a7c071d.

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

@SparkQA
Copy link

SparkQA commented Jan 20, 2020

Test build #117064 has finished for PR 27285 at commit 56a6423.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented Jan 20, 2020

Test build #117098 has finished for PR 27285 at commit a7c071d.

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

@cloud-fan cloud-fan changed the title [SPARK-30578][SQL][TEST] Explicitly set conf to use DSv2 for orc in v2.3/OrcFilterSuite [SPARK-30578][SQL][TEST] Explicitly set conf to use DSv2 for orc in OrcFilterSuite Jan 20, 2020
@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in f5b345c Jan 20, 2020
@Ngone51
Copy link
Member Author

Ngone51 commented Jan 20, 2020

thanks all @cloud-fan @dongjoon-hyun

@dongjoon-hyun
Copy link
Member

+1, late LGTM. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants