Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Dec 15, 2016

What changes were proposed in this pull request?

After the bug fix in SPARK-18854, TreeNode.apply now returns TreeNode[_] rather than a more specific type. It would be easier for interactive debugging to introduce a function that returns the BaseType.

How was this patch tested?

N/A - this is a developer only feature used for interactive debugging. As long as it compiles, it should be good to go. I tested this in spark-shell.

@rxin rxin changed the title [SPARK-18869][SQL] Add lp/pp to plan nodes for getting logical/physical plans [SPARK-18869][SQL] Add TreeNode.p that returns BaseType Dec 15, 2016
@SparkQA
Copy link

SparkQA commented Dec 15, 2016

Test build #70166 has finished for PR 16288 at commit 62acdb6.

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

@SparkQA
Copy link

SparkQA commented Dec 15, 2016

Test build #70164 has finished for PR 16288 at commit f498b4a.

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

@yhuai
Copy link
Contributor

yhuai commented Dec 15, 2016

lgtm

asfgit pushed a commit that referenced this pull request Dec 15, 2016
## What changes were proposed in this pull request?
After the bug fix in SPARK-18854, TreeNode.apply now returns TreeNode[_] rather than a more specific type. It would be easier for interactive debugging to introduce a function that returns the BaseType.

## How was this patch tested?
N/A - this is a developer only feature used for interactive debugging. As long as it compiles, it should be good to go. I tested this in spark-shell.

Author: Reynold Xin <[email protected]>

Closes #16288 from rxin/SPARK-18869.

(cherry picked from commit 5d510c6)
Signed-off-by: Reynold Xin <[email protected]>
asfgit pushed a commit that referenced this pull request Dec 15, 2016
## What changes were proposed in this pull request?
After the bug fix in SPARK-18854, TreeNode.apply now returns TreeNode[_] rather than a more specific type. It would be easier for interactive debugging to introduce a function that returns the BaseType.

## How was this patch tested?
N/A - this is a developer only feature used for interactive debugging. As long as it compiles, it should be good to go. I tested this in spark-shell.

Author: Reynold Xin <[email protected]>

Closes #16288 from rxin/SPARK-18869.

(cherry picked from commit 5d510c6)
Signed-off-by: Reynold Xin <[email protected]>
@asfgit asfgit closed this in 5d510c6 Dec 15, 2016
robert3005 pushed a commit to palantir/spark that referenced this pull request Dec 15, 2016
## What changes were proposed in this pull request?
After the bug fix in SPARK-18854, TreeNode.apply now returns TreeNode[_] rather than a more specific type. It would be easier for interactive debugging to introduce a function that returns the BaseType.

## How was this patch tested?
N/A - this is a developer only feature used for interactive debugging. As long as it compiles, it should be good to go. I tested this in spark-shell.

Author: Reynold Xin <[email protected]>

Closes apache#16288 from rxin/SPARK-18869.
@srowen
Copy link
Member

srowen commented Dec 19, 2016

@rxin I'm not entirely sure, but it sort of looks like this causes branch-2.0 to fail:
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/

Reading backwards, it seems like some failures were caused by numberedTreeString but then fixed, but this is the first one I can see in common across the various jobs that have failed since.

Here's some output; I don't yet know if it rules this change in or out:
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-branch-2.0-test-sbt-hadoop-2.7/865/consoleFull

@rxin
Copy link
Contributor Author

rxin commented Dec 19, 2016

@srowen it looks like 2.0 has a different plan from master. I pushed a fix.

uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
## What changes were proposed in this pull request?
After the bug fix in SPARK-18854, TreeNode.apply now returns TreeNode[_] rather than a more specific type. It would be easier for interactive debugging to introduce a function that returns the BaseType.

## How was this patch tested?
N/A - this is a developer only feature used for interactive debugging. As long as it compiles, it should be good to go. I tested this in spark-shell.

Author: Reynold Xin <[email protected]>

Closes apache#16288 from rxin/SPARK-18869.
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