HIVE-29197: Disable vectorization for multi-column COUNT(DISTINCT)
What changes were proposed in this pull request?
Disabled vectorized execution for multi-column COUNT(DISTINCT) so queries fall back to row mode for unsupported expressions.
Why are the changes needed?
In case of query with filter on Partition column, and if the same column exists in count(distinct, col) udf, Partition column changes to constant.
Vectorized execution does not support multi-column COUNT(DISTINCT). This ensures queries run safely without exceptions.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Added test case
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
@ayushtkn / @deniskuzZ / @okumin can you help to review the PR. Thanks
hi @Indhumathi27, is this still relevant? Have you had a chance to see the latest comment?
hi @Indhumathi27, is this still relevant? Have you had a chance to see the latest comment?
Apologies for the delay, @deniskuzZ. I’ve been busy with other priorities and haven’t checked the comment yet. I’ll get to it and let you know.