Hello, We recently discovered a NPE issue with a query and wasn't sure if the query should be considered valid or not. Please find more information regarding this on the ticket I just made: https://issues.apache.org/jira/browse/CALCITE-4092
I found that handling of queries like these differ between sql engines, so I wanted to confirmed which direction we should be looking at before attempting to resolve this issue. Thank you, *James Kim* Software Engineer +1(734) 234-8734 | *james....@dremio.com <james....@dremio.com>*