Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9.0
-
None
Description
Drill's result is different from that of Calcite and Postgres result.
Postgres 9.3 results
postgres=# select (case when (not null is null) then true else false end) from (values(1)) foo; case ------ f (1 row)
Calcite release 1.8.0 too returns false
0: jdbc:calcite:model=target/test-classes/mod> select (case when (not null is null) then true else false end) from (values(1)); +--------+ | EXPR$0 | +--------+ | false | +--------+ 1 row selected (1.271 seconds)
Drill 1.9.0 git commit ID: 4edabe7a, returns true
0: jdbc:drill:schema=dfs.tmp> select (case when (not null is null) then true else false end) from (values(1)); +---------+ | EXPR$0 | +---------+ | true | +---------+ 1 row selected (0.096 seconds)
Attachments
Issue Links
- depends upon
-
DRILL-3993 Rebase Drill on Calcite master branch
- Resolved