spark
spark copied to clipboard
[SPARK-39989][SQL][FollowUp] Improve foldable expression stats estimate for string and binary
What changes were proposed in this pull request?
This PR improves the foldable expression statistics estimation by providing more accurate min, max, and data length for string and binary data types.
Why are the changes needed?
Improve the accuracy of the statistics.
Does this PR introduce any user-facing change?
No
How was this patch tested?
UT
cc @cloud-fan @wangyum
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!