Skip to content

Conversation

@maropu
Copy link
Member

@maropu maropu commented Aug 8, 2020

What changes were proposed in this pull request?

This is the follow-up PR of #29384 to address the @cloud-fan comment: #29384 (comment)
This PR re-enables TPCDSQuerySuite with empty tables for better test coverages.

Why are the changes needed?

For better test coverage.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests.


class TPCDSQueryWithStatsSuite extends TPCDSQuerySuite {

override def beforeAll(): Unit = {
Copy link
Member

Choose a reason for hiding this comment

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

indentation?

Copy link
Member Author

Choose a reason for hiding this comment

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

oh, I missed...

@SparkQA
Copy link

SparkQA commented Aug 8, 2020

Test build #127222 has finished for PR 29391 at commit 2922680.

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

SQLConf.PLAN_STATS_ENABLED.key -> "true",
SQLConf.JOIN_REORDER_ENABLED.key -> "true"
)
val sqlConfgs: Seq[(String, String)] = Nil
Copy link
Member

Choose a reason for hiding this comment

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

BTW, this is not identical with the original status. I'm wondering if we don't need SQLConf.CROSS_JOINS_ENABLED.key -> "true" ? Previously, we had it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea, since it is enabled by default in 3.0+, I dropped it in the previous PR.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thanks, @maropu .

dongjoon-hyun pushed a commit that referenced this pull request Aug 8, 2020
…ty tables

### What changes were proposed in this pull request?

This is the follow-up PR of #29384 to address the cloud-fan comment: #29384 (comment)
This PR re-enables `TPCDSQuerySuite` with empty tables for better test coverages.

### Why are the changes needed?

For better test coverage.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Existing tests.

Closes #29391 from maropu/SPARK-32564-FOLLOWUP.

Authored-by: Takeshi Yamamuro <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 1df855b)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun
Copy link
Member

Merged to master/3.0.

@maropu
Copy link
Member Author

maropu commented Aug 9, 2020

Thanks, @dongjoon-hyun !

@SparkQA
Copy link

SparkQA commented Aug 9, 2020

Test build #127230 has finished for PR 29391 at commit 43fcf8a.

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

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants