j7nhai commented on issue #6514: URL: https://github.com/apache/incubator-gluten/issues/6514#issuecomment-2238763385
> @j7nhai For int64 timestamps, you'll need to wait for this pull request to be merged. [facebookincubator/velox#8325](https://github.com/facebookincubator/velox/pull/8325) @liujiayi771 thx, but i am confused that if the partition column is timestamp, the file can be read by native even if it's int64. the substrait: ``` { "relations": [{ "root": { "input": { "read": { "common": { "direct": { } }, "baseSchema": { "names": ["col"], "struct": { "types": [{ "timestamp": { "nullability": "NULLABILITY_NULLABLE" } }] }, "columnTypes": ["PARTITION_COL"] }, "advancedExtension": { "optimization": { "@type": "/google.protobuf.StringValue", "value": "isMergeTree\u003d0\n" } } } }, "names": ["col#1", "col#1"] } }] } ``` and the schema from duckdb: ``` select * from parquet_schema("/data/j7nhai/wh/my_test_databases/part_ts/data/col=2021-12-31T16%3A00Z/00154-1-891d43cb-312e-49d2-b88c-880f1fe026f8-00001.parquet"); +---------------------------------------------------------------------------------------------------------------------------------------------+-------+-------+-------------+-----------------+--------------+------------------+-------+-----------+----------+-----------------------------------------------------------------------------------------------------+ | file_name | name | type | type_length | repetition_type | num_children | converted_type | scale | precision | field_id | logical_type | +---------------------------------------------------------------------------------------------------------------------------------------------+-------+-------+-------------+-----------------+--------------+------------------+-------+-----------+----------+-----------------------------------------------------------------------------------------------------+ | /data/j7nhai/wh/my_test_databases/part_ts/data/col=2021-12-31T16%3A00Z/00154-1-891d43cb-312e-49d2-b88c-880f1fe026f8-00001.parquet | table | | | | 1 | | | | | | | /data/j7nhai/wh/my_test_databases/part_ts/data/col=2021-12-31T16%3A00Z/00154-1-891d43cb-312e-49d2-b88c-880f1fe026f8-00001.parquet | col | INT64 | | REQUIRED | | TIMESTAMP_MICROS | | | 1 | TimestampType(isAdjustedToUTC=1, unit=TimeUnit(MILLIS=<null>, MICROS=MicroSeconds(), NANOS=<null>)) | +---------------------------------------------------------------------------------------------------------------------------------------------+-------+-------+-------------+-----------------+--------------+------------------+-------+-----------+----------+-----------------------------------------------------------------------------------------------------+ ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
