Skip to content

[SPARK-30104][SQL][FOLLOWUP] Remove LookupCatalog.AsTemporaryViewIdentifier#26897

Closed
imback82 wants to merge 1 commit intoapache:masterfrom
imback82:30104-followup
Closed

[SPARK-30104][SQL][FOLLOWUP] Remove LookupCatalog.AsTemporaryViewIdentifier#26897
imback82 wants to merge 1 commit intoapache:masterfrom
imback82:30104-followup

Conversation

@imback82
Copy link
Contributor

@imback82 imback82 commented Dec 15, 2019

What changes were proposed in this pull request?

As discussed in #26741 (comment), LookupCatalog.AsTemporaryViewIdentifier is no longer used and can be removed.

Why are the changes needed?

Code clean up

Does this PR introduce any user-facing change?

No

How was this patch tested?

Removed tests that were testing solely AsTemporaryViewIdentifier extractor.

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.

@imback82 . I know the discussion, but I want to double-check if there is no test coverage loss.

Also, since this is a removal of the existing test code, could you update the PR description more properly? (The following looks too simple.)

Existing tests

@SparkQA
Copy link

SparkQA commented Dec 15, 2019

Test build #115344 has finished for PR 26897 at commit e76cf1c.

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

@srowen
Copy link
Member

srowen commented Dec 15, 2019

CC @cloud-fan

@cloud-fan
Copy link
Contributor

cloud-fan commented Dec 16, 2019

If something is only being tested but not nothing else, it's dead code. I checked the removed tests and they solely test AsTemporaryViewIdentifier.

LGTM, merging to master!

@cloud-fan cloud-fan closed this in 72f5597 Dec 16, 2019
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