Jefffrey commented on issue #3176:
URL:
https://github.com/apache/arrow-datafusion/issues/3176#issuecomment-1336333795
Issue resolved with arrow-rs version upgraded
```bash
jeffrey:~/Code/arrow-datafusion/datafusion-cli$ cat time.csv
c0,c1,c2
1,00:00:00,2000-01-01T00:00:00
2,00:01:00,2000-01-01T00:00:00
3,00:02:00,2000-01-01T00:00:00
jeffrey:~/Code/arrow-datafusion/datafusion-cli$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.11s
Running
`/media/jeffrey/1tb_860evo_ssd/.cargo_target_cache/debug/datafusion-cli`
DataFusion CLI v15.0.0
❯ create external table a (c0 int, c1 time, c2 timestamp) stored as csv with
header row location 'time.csv';
0 rows in set. Query took 0.001 seconds.
❯ select * from a;
+----+----------+---------------------+
| c0 | c1 | c2 |
+----+----------+---------------------+
| 1 | 00:00:00 | 2000-01-01T00:00:00 |
| 2 | 00:01:00 | 2000-01-01T00:00:00 |
| 3 | 00:02:00 | 2000-01-01T00:00:00 |
+----+----------+---------------------+
3 rows in set. Query took 0.006 seconds.
❯
```
Would you still prefer some test cases be added, say to
`datafusion/core/src/datasource/file_format/csv.rs` for example? Because in my
opinion it'd just be retesting the arrow-rs functionality
@waitingkuo
--
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]