waitingkuo commented on issue #7958: URL: https://github.com/apache/arrow-datafusion/issues/7958#issuecomment-1784074103
@alamb @comphead i'm not familiar with parquet parser, i assume that time casting is dealed by timestamp casting but not to_timestamp function. The behaviors for `casting` and `to_timestamp` are now different after #7844 merged ```bash ❯ select to_timestamp(1), arrow_typeof(to_timestamp(1)); +------------------------+--------------------------------------+ | to_timestamp(Int64(1)) | arrow_typeof(to_timestamp(Int64(1))) | +------------------------+--------------------------------------+ | 1970-01-01T00:00:01 | Timestamp(Second, None) | +------------------------+--------------------------------------+ 1 row in set. Query took 0.004 seconds. ❯ select 1::timestamp, arrow_typeof(1::timestamp); +-------------------------------+-----------------------------+ | Int64(1) | arrow_typeof(Int64(1)) | +-------------------------------+-----------------------------+ | 1970-01-01T00:00:00.000000001 | Timestamp(Nanosecond, None) | +-------------------------------+-----------------------------+ ``` -- 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]
