devanbenz commented on PR #12466: URL: https://github.com/apache/datafusion/pull/12466#issuecomment-2361106309
@alamb I have this working but I'm unsure if the *original* implementation is working as expected. Shouldn't the times be descending in this first selection? ``` > create external table cpu(time timestamp) stored as parquet location '/Users/devan/Downloads/cpu.parquet' with order (time desc); 0 row(s) fetched. Elapsed 0.013 seconds. > select * from cpu ; +---------------------+ | time | +---------------------+ | 2023-03-01T00:00:00 | | 2023-03-02T00:00:00 | +---------------------+ 2 row(s) fetched. Elapsed 0.018 seconds. > drop table cpu; 0 row(s) fetched. Elapsed 0.002 seconds. > create external table cpu(time timestamp) stored as parquet location '/Users/devan/Downloads/cpu.parquet' with order (time asc); 0 row(s) fetched. Elapsed 0.004 seconds. > select * from cpu; +---------------------+ | time | +---------------------+ | 2023-03-01T00:00:00 | | 2023-03-02T00:00:00 | +---------------------+ 2 row(s) fetched. Elapsed 0.008 seconds. ``` *Note: this is using the already existing code* -- 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]
