Skip to content

Conversation

cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

This PR reverts #46580 (the tests are left) because it's no longer needed after #47501 . The PlanWithUnresolvedIdentifier becomes more flatten and all its children will be resolved by the early batch already.

Why are the changes needed?

code cleanup

Does this PR introduce any user-facing change?

no

How was this patch tested?

existing tests

Was this patch authored or co-authored using generative AI tooling?

no

@github-actions github-actions bot added the SQL label Nov 7, 2024
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.

Could you check the test failures?

@dongjoon-hyun
Copy link
Member

Gentle ping, @cloud-fan .

@cloud-fan
Copy link
Contributor Author

thanks for the review, merging to master!

@cloud-fan cloud-fan closed this in e7ebda6 Nov 12, 2024
cloud-fan pushed a commit that referenced this pull request Mar 20, 2025
…ithUnresolvedIdentifier""

### What changes were proposed in this pull request?
This PR reverts #48786

### Why are the changes needed?
Custom rules in the early analyzer batches (custom hint resolution rules injection) can match `UnresolvedRelation`, which is only visible after the IDENTIFIER clause is expanded.

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

No.

### How was this patch tested?

Existing tests + added a unit test.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #50311 from dusantism-db/identifier-revert.

Authored-by: Dušan Tišma <dusan.tisma@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
cloud-fan pushed a commit that referenced this pull request Mar 20, 2025
…ithUnresolvedIdentifier""

### What changes were proposed in this pull request?
This PR reverts #48786

### Why are the changes needed?
Custom rules in the early analyzer batches (custom hint resolution rules injection) can match `UnresolvedRelation`, which is only visible after the IDENTIFIER clause is expanded.

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

No.

### How was this patch tested?

Existing tests + added a unit test.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #50311 from dusantism-db/identifier-revert.

Authored-by: Dušan Tišma <dusan.tisma@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 7dfb8fe)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
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.

4 participants