-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-29020][SQL] Improving array_sort behaviour #25728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
134e9e4
[SPARK-29020] Improving array_sort behaviour
aeee71c
[SPARK-29020] [SQL] Keep array_sort original behaviour
ebde544
[SPARK-29020] [SQL] ascending parameter is now a Column
3f4c328
Array sorting as HOF with Integers Asc and Desc
7264fc5
4/6 cases working
210baf7
undo array_sort asc flag
f7e7d39
Name and indent refactor
e651094
Added null handling
b32a9fa
fix import for scalastyle
cc44b90
added checkInputDataTypes function
2285678
rename HOF array_sort to sort
d35d6cb
Remove ArraySort and unifiyng it in new ArraySort HOF
ad04599
added sortEval in ArraySortLike
7ad574a
add array_sort in functions for scala API
d75a671
Refactor changes
0c65ff8
Consistency with array_sort constructor
83ddb8b
fix comment in ArraySort
adf0e0e
Indentation changes
2224354
change dataType from ArraySort
92586cc
Unregistered Udfs, null handle in comparators
c836dae
Remove ArraySortLike from array_sort
f7a93c5
Fix ArraySort to support comparator function.
ueshin 6b08cdc
Merge pull request #1 from ueshin/pr/25728/array_sort
Gschiavon a345142
fixed test after changing comparator order
3fe059a
fixing ArraySort Query Example
53b563e
Fix lambda function names and readabilty of query examples
7c38b8a
revert indent
ef28d4f
Changed ArraySort description
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this phrase
in ascending orderalways true?