forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49043][SQL] Fix interpreted codepath group by on map containin…
…g collated strings ### What changes were proposed in this pull request? Added ordering for PhysicalMapType in `PhysicalDataType.scala`. ### Why are the changes needed? This feature is needed to compare maps for equality in group-by queries when they contain collated strings. It was already functional in the codegen path. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Added tests to `CollationSuite.scala` ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#47521 from ilicmarkodb/fix_group_by_on_map. Lead-authored-by: Marko <[email protected]> Co-authored-by: Marko Ilić <[email protected]> Co-authored-by: Marko Ilic <[email protected]> Signed-off-by: Max Gekk <[email protected]>
- Loading branch information
1 parent
b4a8029
commit 899fad4
Showing
3 changed files
with
185 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters