-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-14199 [R] bindings for format (where possible) #12319
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
26 commits
Select commit
Hold shift + click to select a range
db29c42
first pass at implementing `format()` for date-time
dragosmg cb162d9
`arrow::format()` uses object timezone if available
dragosmg fb67975
lint
dragosmg a7707c2
`format()` dispatch for `Timestamp` and `Date32` types
dragosmg f5f199a
create helper function for date/time format
dragosmg 3e09b5c
moved format date/time and helper (+tests) to dplyr-funcs-type
dragosmg def79dc
remove arg check
dragosmg 46ee180
testing abandon ship for unsupported types
dragosmg 976e172
improve `format()` abort message
dragosmg 1bbcdac
improve test description
dragosmg cf514eb
use `"Etc/GMT+6"` as unlikely unit test
dragosmg f8c2ed2
test on windows too
dragosmg 2ae6249
skip on win
dragosmg 40e1914
moved `binding_format_datetime()` to dplyr-funcs-datetime.R
dragosmg f771682
cast as string for unsupported formats + update unit tests
dragosmg 5411458
without casting
dragosmg 8859ebb
with casting
dragosmg 03eb111
added TODO to revisit the casting step once #12240 is merged
dragosmg 09d99b4
used `build_expr()` and simplified the implementation
dragosmg 8ecf37a
typo
dragosmg c0688e1
:)
dragosmg c118700
changed one test to use `arrow_table()`
dragosmg a6c0b19
updated the `format()` binding to use `build_expr()`
dragosmg 7878b37
keep dispatch for regular R objects in and add a unit test for `forma…
dragosmg ce5a0c1
additional unit test with regular R object
dragosmg 9668f01
removed unevaluated args and added comment on why we use `base::forma…
dragosmg 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
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.