Skip to content

[SPARK-26576][SQL][TEST] Broadcast hint not applied to partitioned table - #23530

Closed
jzhuge wants to merge 2 commits into
apache:masterfrom
jzhuge:SPARK-26576-master
Closed

[SPARK-26576][SQL][TEST] Broadcast hint not applied to partitioned table#23530
jzhuge wants to merge 2 commits into
apache:masterfrom
jzhuge:SPARK-26576-master

Conversation

@jzhuge

@jzhugejzhuge commented Jan 12, 2019

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Make sure broadcast hint is applied to partitioned tables.

How was this patch tested?

  • A new unit test in PruneFileSourcePartitionsSuite
  • Unit test suites touched by SPARK-14581: JoinOptimizationSuite, FilterPushdownSuite, ColumnPruningSuite, and PruneFiltersSuite

Closes#23507 from jzhuge/SPARK-26576.

## What changes were proposed in this pull request?
Make sure broadcast hint is applied to partitioned tables.
## How was this patch tested?
- A new unit test in PruneFileSourcePartitionsSuite
- Unit test suites touched by SPARK-14581: JoinOptimizationSuite, FilterPushdownSuite, ColumnPruningSuite, and PruneFiltersSuite
Closesapache#23507 from jzhuge/SPARK-26576.
Authored-by: John Zhuge <jzhuge@apache.org>
Signed-off-by: gatorsmile <gatorsmile@gmail.com>
(cherry picked from commit b9eb0e8)
@dongjoon-hyun

Copy link
Copy Markdown
Member

ok to test


case h: ResolvedHint =>
collectProjectsAndFilters(h.child)

@dongjoon-hyundongjoon-hyunJan 13, 2019

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi, @jzhuge .
Do we need to remove this? According to the previous PR, master has no issue. So, I expected a test only PR.

cc @cloud-fan and @gatorsmile

@jzhugejzhugeJan 13, 2019

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Yeah, it is safer to only port the unit test. However, I believe this is dead code, otherwise we might have to revisit the fix for 2.4 and 2.3.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In that case, let's not change this in this PR [SPARK-26576][SQL] Broadcast hint not applied to partitioned table .

For the dead code cleaning up, you can do that later.

@SparkQA

Copy link
Copy Markdown

Test build #101135 has finished for PR 23530 at commit e81a501.

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

@SparkQA

Copy link
Copy Markdown

Test build #101139 has finished for PR 23530 at commit 434929a.

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

@gatorsmilegatorsmile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Thanks! Merged to master.

@gatorsmilegatorsmile changed the title [SPARK-26576][SQL] Broadcast hint not applied to partitioned table[SPARK-26576][SQL][TEST] Broadcast hint not applied to partitioned tableJan 13, 2019
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
## What changes were proposed in this pull request?
Make sure broadcast hint is applied to partitioned tables.
## How was this patch tested?
- A new unit test in PruneFileSourcePartitionsSuite
- Unit test suites touched by SPARK-14581: JoinOptimizationSuite, FilterPushdownSuite, ColumnPruningSuite, and PruneFiltersSuite
Closesapache#23507 from jzhuge/SPARK-26576.
Closesapache#23530 from jzhuge/SPARK-26576-master.
Authored-by: John Zhuge <jzhuge@apache.org>
Signed-off-by: gatorsmile <gatorsmile@gmail.com>
Sign up for freeto 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

@jzhuge@dongjoon-hyun@SparkQA@gatorsmile