Skip to content

Conversation

@linhongliu-db
Copy link
Contributor

@linhongliu-db linhongliu-db commented Dec 8, 2020

What changes were proposed in this pull request?

Addressed comments in PR #30567, including:

  1. add test case for SPARK-33647 and SPARK-33142
  2. add migration guide
  3. add getRawTempView and getRawGlobalTempView to return the raw view info (i.e. TemporaryViewRelation)
  4. other minor code clean

Why are the changes needed?

Code clean and more test cases

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing and newly added test cases

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Test build #132417 has finished for PR 30666 at commit fec710f.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37017/

@github-actions github-actions bot added the SQL label Dec 8, 2020
@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37017/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Below changes will be removed after #30662 is merged

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Test build #132422 has finished for PR 30666 at commit 3b71c3a.

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

@linhongliu-db
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37028/

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37028/

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Test build #132429 has finished for PR 30666 at commit 3b71c3a.

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

@linhongliu-db
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37036/

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37036/

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Test build #132435 has finished for PR 30666 at commit 3b71c3a.

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

@linhongliu-db
Copy link
Contributor Author

cc @cloud-fan

@HyukjinKwon HyukjinKwon changed the title [SPARK-33142][SPARK-33647][SQL][FOLLOW-UP] code clean and more test cases [SPARK-33142][SPARK-33647][SQL][FOLLOW-UP] Code clean and more test cases Dec 9, 2020
@HyukjinKwon HyukjinKwon marked this pull request as draft December 9, 2020 01:54
@HyukjinKwon
Copy link
Member

@linhongliu-db can you elabourate what this PR proposes in the PR description?

@linhongliu-db linhongliu-db changed the title [SPARK-33142][SPARK-33647][SQL][FOLLOW-UP] Code clean and more test cases [SPARK-33142][SPARK-33647][SQL][FOLLOW-UP] Add docs and test cases Dec 10, 2020
@github-actions github-actions bot added the DOCS label Dec 10, 2020
@SparkQA
Copy link

SparkQA commented Dec 10, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37137/

@SparkQA
Copy link

SparkQA commented Dec 10, 2020

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37137/

@SparkQA
Copy link

SparkQA commented Dec 10, 2020

Test build #132533 has finished for PR 30666 at commit a8a8f84.

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

@HyukjinKwon HyukjinKwon marked this pull request as ready for review December 10, 2020 07:42
@SparkQA
Copy link

SparkQA commented Dec 10, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37162/

@SparkQA
Copy link

SparkQA commented Dec 10, 2020

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37162/

@linhongliu-db
Copy link
Contributor Author

Thanks @HyukjinKwon , this PR is ready for review. and also cc @cloud-fan

Copy link
Contributor

Choose a reason for hiding this comment

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

why do we remove this test?

Copy link
Contributor Author

@linhongliu-db linhongliu-db Dec 11, 2020

Choose a reason for hiding this comment

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

This is same to the newly added test case in SQLViewTestSuite.
They both test the scenario:
global temp view refers to a table, create a temporary view with the same name, won't affect the result.

But SQLViewTestSuite will covert all 3 kinds of views, and also test the same table name in different database.

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37223/

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37223/

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Test build #132612 has finished for PR 30666 at commit f578b0b.

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

@cloud-fan
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37242/

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37242/

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Test build #132621 has finished for PR 30666 at commit 7e23fea.

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

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Test build #132639 has finished for PR 30666 at commit 7e23fea.

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

@linhongliu-db
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Test build #132655 has finished for PR 30666 at commit 7e23fea.

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

@cloud-fan
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37262/

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37262/

@SparkQA
Copy link

SparkQA commented Dec 11, 2020

Test build #132657 has finished for PR 30666 at commit 7e23fea.

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

@SparkQA
Copy link

SparkQA commented Dec 14, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37352/

@SparkQA
Copy link

SparkQA commented Dec 14, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37352/

@cloud-fan
Copy link
Contributor

GA passed, merging to master/3.1!

@cloud-fan cloud-fan closed this in b7c8210 Dec 14, 2020
cloud-fan pushed a commit that referenced this pull request Dec 14, 2020
### What changes were proposed in this pull request?
Addressed comments in PR #30567, including:
1. add test case for SPARK-33647 and SPARK-33142
2. add migration guide
3. add `getRawTempView` and `getRawGlobalTempView` to return the raw view info (i.e. TemporaryViewRelation)
4. other minor code clean

### Why are the changes needed?
Code clean and more test cases

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

### How was this patch tested?
Existing and newly added test cases

Closes #30666 from linhongliu-db/SPARK-33142-followup.

Lead-authored-by: Linhong Liu <[email protected]>
Co-authored-by: Linhong Liu <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
(cherry picked from commit b7c8210)
Signed-off-by: Wenchen Fan <[email protected]>
@SparkQA
Copy link

SparkQA commented Dec 14, 2020

Test build #132751 has finished for PR 30666 at commit 1cde94e.

  • 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants