-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-11703: [R] Implement dplyr::arrange() #9745
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
49 commits
Select commit
Hold shift + click to select a range
5a9cb90
Implement SortIndices method for Table, RecordBatch, Array, ChunkedArray
ianmcook d47cfd0
Fix SortIndices for ChunkedArray
ianmcook 67d2199
Implement sort() method for ArrowDatum types
ianmcook deef9a3
Disallow unsupported na.last options in Array and ChunkedArray sort()
ianmcook e269669
Add test data for sort tests
ianmcook 7001927
Add compute sorting tests
ianmcook c5bf536
Fix unsigned/signed compare error
ianmcook 3fa4125
Implement dplyr::arrange() for ArrowTabular
ianmcook 5c8b70e
Add arrange() tests
ianmcook ecd5bf7
Define sort method for ArrowDatum instead of Array and ChunkedArray
ianmcook aad31cb
Improve tests
ianmcook 3fe0c51
Rename get_field_name -> get_field_name_of_array_ref
ianmcook 1bc1806
Support na.last in sort.ArrowDatum
ianmcook 154cac6
Fix failing tests
ianmcook 4e88023
Fix failing tests
ianmcook eeb1db0
Fix failing tests
ianmcook 82dc4ff
Support expressions in arrange()
ianmcook 27025e0
Do arrange() locally when unsupported expression
ianmcook 791064e
Update tests
ianmcook 9593e89
Add TODO
ianmcook 6604144
Support arrange(.by_group = TRUE)
ianmcook 50c6992
Fix and add tests
ianmcook 9e87b26
Handle case when empty dots and .group_by = TRUE
ianmcook d7dba8e
More tests for edge cases
ianmcook 07324dc
Fix and add tests
ianmcook d84a65a
Add comments
ianmcook 6f8e8bf
Remove usage of rlang::as_name
ianmcook 948fa5a
Add comment
ianmcook f94d630
Remove unnecessary code
ianmcook cb67505
Add test of arrange(!!!syms())
ianmcook b21fcf9
Remove dup dataset check
ianmcook d2ab74b
Add comments and rename vars for clarity in sort.ArrowDatum
ianmcook 33bbc0d
Implement arrange() for Datasets
ianmcook 0646aff
Add tests for arrange() on Dataset
ianmcook 95b310f
Improve skip message
ianmcook deba988
Fix test failures
ianmcook 38a8aec
Add expect_vector_equal() helper
ianmcook f98b92e
Clean up tests
ianmcook 470904f
Fix failing tests
ianmcook 6b4a586
Trigger CI
ianmcook e44b7a1
Implement Scalar$Equals(), $ApproxEquals() and simplify sort(Scalar) …
ianmcook 2d0777e
Add some non-skipped float sort tests
ianmcook 20c9233
Lint
ianmcook d9a5e09
Improve tests
ianmcook da1b746
Improve comments
ianmcook 49aaf1e
Add and reorganize tests
ianmcook a4e69c2
More bad input tests
ianmcook dd2e0ef
Improve tests
ianmcook 434dcb5
Tests fixes
ianmcook 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.