You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/08/04 09:18:12 UTC

[GitHub] [arrow] rok commented on a diff in pull request #13791: MINOR: Update NEWS.md regarding parse_date_time

rok commented on code in PR #13791:
URL: https://github.com/apache/arrow/pull/13791#discussion_r937549587


##########
r/NEWS.md:
##########
@@ -31,7 +31,8 @@
 * `map_batches()` returns a `RecordBatchReader` and requires that the function it maps returns something coercible to a `RecordBatch` through the `as_record_batch()` S3 function. It can also run in streaming fashion if passed `.lazy = TRUE`. (ARROW-15271, ARROW-16703)
 * Functions can be called with package namespace prefixes (e.g. `stringr::`, `lubridate::`) within queries. For example, `stringr::str_length` will now dispatch to the same kernel as `str_length`. (ARROW-14575)
 * Support for new functions:
-  * `lubridate::parse_date_time()` datetime parser: (ARROW-14848, ARROW-16407)
+  * `lubridate::parse_date_time()` datetime parser: (ARROW-14848, ARROW-16407, ARROW-16653)
+    * most formats are now supported.

Review Comment:
   `strftime` supports: `%a %A %w %d %b %B %m %y %Y %H %I %p %M %z %Z %j %U %W %x %X %% %G %V %u`
   `strptime` on Windows supports: `"%d", "%H", "%j", "%m", "%T", "%S", "%q", "%M", "%U", "%w", "%W", "%y", "%Y", "%R", "%T"`
   `strptime` on non-Windows in additionally supports: `"%a", "%A", "%b", "%B", "%Om", "%OS", "%I", "%p", "%r", "%z"`
   `parse_date_time` supports on Windows: `"H", "I", "j", "M", "S", "U", "w", "W", "y", "Y", "R", "T", "%H", "%I", "%j", "%M", "%S", "%U", "%w", "%W", "%y", "%Y", "%R", "%T"`
   `parse_date_time` on non-Windows supports: `"a", "A", "b", "B", "Om", "p", "r", "%a", "%A", "%b", "%B", "O%m", "%p", "%r"`
   
   I'm not sure where to put this information :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org