Skip to content

[SPARK-45891][SQL][TESTS] Make VariantSuite test agnostic of the stableDerivedColumnAlias config - #49135

Closed
harshmotw-db wants to merge 7 commits into
apache:masterfrom
harshmotw-db:harsh-motwani_data/variant_test_fix
Closed

[SPARK-45891][SQL][TESTS] Make VariantSuite test agnostic of the stableDerivedColumnAlias config#49135
harshmotw-db wants to merge 7 commits into
apache:masterfrom
harshmotw-db:harsh-motwani_data/variant_test_fix

Conversation

@harshmotw-db

@harshmotw-db harshmotw-db commented Dec 10, 2024

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Make the "group/order/join variant are disabled" test in VariantSuite agnostic of the spark.sql.stableDerivedColumnAlias.enabled config.

Why are the changes needed?

Earlier, the suite would fail when spark.sql.stableDerivedColumnAlias.enabled was true since the column alias would be different.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Unit tests.

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

No.

@harshmotw-db
harshmotw-db marked this pull request as ready for review December 10, 2024 22:02
@github-actions github-actions Bot added the SQL label Dec 10, 2024
@harshmotw-db harshmotw-db changed the title [SPARK-45891] Account for stableDerivedColumnAlias in Variant test [SPARK-45891] Account for stableDerivedColumnAlias config in Variant test Dec 10, 2024
@harshmotw-db harshmotw-db changed the title [SPARK-45891] Account for stableDerivedColumnAlias config in Variant test [SPARK-45891] Make VariantSuite test agnostic of the stableDerivedColumnAlias config Dec 10, 2024
@harshmotw-db

Copy link
Copy Markdown
Contributor Author

@MaxGekk Can you look at this PR since you implemented the spark.sql.stableDerivedColumnAlias.enabled config?

@HyukjinKwon HyukjinKwon changed the title [SPARK-45891] Make VariantSuite test agnostic of the stableDerivedColumnAlias config [SPARK-45891][SQL][TESTS] Make VariantSuite test agnostic of the stableDerivedColumnAlias config Dec 11, 2024
@cloud-fan

Copy link
Copy Markdown
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in c1a9fc1 Dec 13, 2024
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.

2 participants