alamb opened a new pull request #8179: URL: https://github.com/apache/arrow/pull/8179
As pointed out on @jhorstmann: https://github.com/apache/arrow/pull/8161#issuecomment-691464193 > One (not directly related) issue I noticed while trying this out, is that the local patterns seem to require the millisecond part, while for utc timestamps with "Z" they are optional: ``` > select to_timestamp('2020-09-12T10:30:00') from test limit 1; ArrowError(ExternalError(General("Error parsing \'2020-09-12T10:30:00\' as timestamp"))) > select to_timestamp('2020-09-12T10:30:00Z') from test limit 1; +-------------------------------------------+ | totimestamp(Utf8("2020-09-12T10:30:00Z")) | +-------------------------------------------+ | 1599906600000000000 | +-------------------------------------------+ ``` This PR allows parsing local timestamp patterns without the fractional seconds and tests for same ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org