alamb commented on PR #4838:
URL: 
https://github.com/apache/arrow-datafusion/pull/4838#issuecomment-1374796498

   Not sure if others understand the elegance of @unconsolable 's solution 
here, but it works for other file types as well a directories of files:
   
   ```
   ❯ select * from './datafusion/core/tests/aggregate_simple.csv';
   +---------+----------------+-------+
   | c1      | c2             | c3    |
   +---------+----------------+-------+
   | 0.00001 | 0.000000000001 | true  |
   | 0.00002 | 0.000000000002 | false |
   | 0.00002 | 0.000000000002 | false |
   | 0.00003 | 0.000000000003 | true  |
   | 0.00003 | 0.000000000003 | true  |
   | 0.00003 | 0.000000000003 | true  |
   | 0.00004 | 0.000000000004 | false |
   | 0.00004 | 0.000000000004 | false |
   | 0.00004 | 0.000000000004 | false |
   | 0.00004 | 0.000000000004 | false |
   | 0.00005 | 0.000000000005 | true  |
   | 0.00005 | 0.000000000005 | true  |
   | 0.00005 | 0.000000000005 | true  |
   | 0.00005 | 0.000000000005 | true  |
   | 0.00005 | 0.000000000005 | true  |
   +---------+----------------+-------+
   15 rows in set. Query took 0.006 seconds.
   ```
   
   I will add some documentation about this feature as it is very cool


-- 
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]

Reply via email to