Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-37468][SQL] Support ANSI intervals and TimestampNTZ for UnionE…
…stimation ### What changes were proposed in this pull request? This PR proposes to support ANSI intervals and TimestampNTZ for `UnionEstimation`. Currently, `UnionEstimation` doesn't support ANSI intervals and TimestampNTZ. But I think it can support those types because their underlying types are integer or long, which `UnionEstimation` can compute stats for. ### Why are the changes needed? To make CBO better. ### Does this PR introduce _any_ user-facing change? No. Not interferes with the current behavior. ### How was this patch tested? Modified `UnionEstimationSuite`. Closes apache#34716 from sarutak/union-cbo. Lead-authored-by: Kousuke Saruta <[email protected]> Co-authored-by: Kousuke Saruta <[email protected]> Signed-off-by: Max Gekk <[email protected]>
- Loading branch information