Skip to content

[SPARK-46460][Optimizer]The filter of partition including cast function may lead the partition pruning to disable#44419

Closed
littlelittlewhite09 wants to merge 2 commits intoapache:branch-3.2from
littlelittlewhite09:bugfix3.2.0
Closed

[SPARK-46460][Optimizer]The filter of partition including cast function may lead the partition pruning to disable#44419
littlelittlewhite09 wants to merge 2 commits intoapache:branch-3.2from
littlelittlewhite09:bugfix3.2.0

Conversation

@littlelittlewhite09
Copy link

What changes were proposed in this pull request?

The filter of partition includes cast function may lead the partition pruning to disable. I supposed a new rule to fix it, but I am not sure if the rule is necessary.
The issue is open on JIRA. Link:SPARK-46460

Why are the changes needed?

The changes can avoid filter condition failure caused by cast function.

Does this PR introduce any user-facing change?

no

How was this patch tested?

UT

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

no

@github-actions github-actions bot added the SQL label Dec 20, 2023
@littlelittlewhite09 littlelittlewhite09 changed the title [SPARK-46460]The filter of partition includes cast function may lead the partition pruning to disable [SPARK-46460][Optimizer]The filter of partition includes cast function may lead the partition pruning to disable Dec 20, 2023
@littlelittlewhite09 littlelittlewhite09 changed the title [SPARK-46460][Optimizer]The filter of partition includes cast function may lead the partition pruning to disable [SPARK-46460][Optimizer]The filter of partition including cast function may lead the partition pruning to disable Dec 20, 2023
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