comphead opened a new issue, #5454:
URL: https://github.com/apache/arrow-datafusion/issues/5454
**Describe the bug**
Datafusion doesn't support comparison between Timestamp and TimestampTz
**To Reproduce**
```
DataFusion CLI v18.0.0
❯ select '2021-1-1'::timestamptz > '2021-1-1'::timestamp
;
Internal error: Cannot evaluate binary expression Gt with types
Timestamp(Nanosecond, None) and Timestamp(Nanosecond, Some("+00:00")). This was
likely caused by a bug in DataFusion's code and we would welcome that you file
an bug report in our issue tracker
```
the same query in PG runs fine
**Expected behavior**
Make timestamp comparison with timestamptz work
**Additional context**
None
--
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]