dragosmg commented on PR #13070:
URL: https://github.com/apache/arrow/pull/13070#issuecomment-1124753103
> What have you tried so far? This _will_ be tricky + it's totally possible
that it is not feasible to emulate this behavior with the way we build these.
Initially I started by trying to apply an identical logic to
`as.Date.character()`: find the first non-null element and attempt to parse it
with the first format, then move on to the next format, etc. Computationally it
should be relatively efficient since we would try the formats on a single
element, but I couldn't figure out how to do this with expressions (find the
first non-null, apply the format, force the computation, if NA, try the next
one, etc).
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]