Skip to content

Conversation

@vladimirg-db
Copy link
Contributor

What changes were proposed in this pull request?

Regenerate AttributeReferences to Aliases with collated expression trees. Also, add a flag just in case this change is too invasive.

Why are the changes needed?

This is a followup for #50192.

AttributeReferences to Aliases need to receive new names as well, since they reference those aliases.

Does this PR introduce any user-facing change?

Yes, AttributeReference that reference Aliases with collated expression trees get new names as well.

How was this patch tested?

New golden file tests in collations.sql.

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

No.

@vladimirg-db vladimirg-db force-pushed the vladimir-golubev_data/regenerate-attribute-references-to-aliases-in-collated-expression-subtrees-as-well branch from cef0422 to 3056ba2 Compare March 25, 2025 17:34
@github-actions github-actions bot added the SQL label Mar 25, 2025
@vladimirg-db vladimirg-db force-pushed the vladimir-golubev_data/regenerate-attribute-references-to-aliases-in-collated-expression-subtrees-as-well branch 2 times, most recently from ea326a7 to 065db10 Compare March 25, 2025 17:40
@vladimirg-db vladimirg-db force-pushed the vladimir-golubev_data/regenerate-attribute-references-to-aliases-in-collated-expression-subtrees-as-well branch from 065db10 to b82a7e4 Compare March 26, 2025 14:11
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.

1 participant