Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

This PR fixes a mistake in #31273. When CREATE OR REPLACE a temp view, we need to uncache the to-be-replaced existing temp view. However, we shouldn't uncache if there is no existing temp view.

This doesn't cause real issues because the uncache action is failure-safe. But it produces a lot of warning messages.

Why are the changes needed?

Avoid unnecessary warning logs.

Does this PR introduce any user-facing change?

no

How was this patch tested?

manually run tests and check the warning messages.

@cloud-fan
Copy link
Contributor Author

cc @imback82 @LuciferYang

Copy link
Contributor

@imback82 imback82 left a comment

Choose a reason for hiding this comment

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

LGTM (pending tests), thanks @cloud-fan for fixing this!

@github-actions github-actions bot added the SQL label Feb 25, 2021
@SparkQA
Copy link

SparkQA commented Feb 25, 2021

Test build #135470 has finished for PR 31650 at commit 47d2bec.

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

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. Merged to master.

@dongjoon-hyun
Copy link
Member

Thank you, @cloud-fan and all.

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.

5 participants