Skip to content

HIVE-29029: When stack UDTF is used with UNION ALL throwing ClassCastException in CBO mode.#5978

Merged
zabetak merged 2 commits intoapache:masterfrom
mdayakar:HIVE-29029_master
Jul 21, 2025
Merged

HIVE-29029: When stack UDTF is used with UNION ALL throwing ClassCastException in CBO mode.#5978
zabetak merged 2 commits intoapache:masterfrom
mdayakar:HIVE-29029_master

Conversation

@mdayakar
Copy link
Contributor

HIVE-29029: When stack UDTF is used with UNION ALL throwing ClassCastException in CBO mode.

What changes were proposed in this pull request?

Ignore HiveUnionSimpleSelectsToInlineTableRule when stack UDTF is used with UNION ALL.

Why are the changes needed?

To fix the ClassCastException when stack UDTF is used with UNION ALL.

Does this PR introduce any user-facing change?

No

How was this patch tested?

mvn -Dtest=TestMiniLlapLocalCliDriver -Dqfile=udtf_with_unionall.q -pl itests/qtest -Pitests

@sonarqubecloud
Copy link

Copy link
Member

@zabetak zabetak left a comment

Choose a reason for hiding this comment

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

LGTM. Spotted some small stuff but we can leave with those.

@zabetak zabetak merged commit ad8701e into apache:master Jul 21, 2025
4 checks passed
@zabetak
Copy link
Member

zabetak commented Jul 21, 2025

Thanks for the PR @mdayakar !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants