alamb commented on issue #194:
URL: 
https://github.com/apache/arrow-datafusion/issues/194#issuecomment-838971642


   Here is a simpler reproducer:
   
   ```
   
   echo "2020-09-08T12:00:00+00:00,2020-09-09T12:00:00+00:00" > /tmp/foo.csv
   echo "2020-09-08T12:00:00+00:00,2020-09-08T11:00:00+00:00" >> /tmp/foo.csv
   ```
   
   And then
   
   ```
   
   > 
   CREATE EXTERNAL TABLE foo(ts1 timestamp, ts2 timestamp)
   STORED AS CSV
   LOCATION '/tmp/foo.csv';
   
   0 rows in set. Query took 0 seconds.
   > 
   
   SELECT ts2 - ts1 from foo;
   
   Plan("\'Timestamp(Nanosecond, None) - Timestamp(Nanosecond, None)\' can\'t 
be evaluated because there isn\'t a common type to coerce the types to")
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to