Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.1
-
None
Description
Impala Query:
SELECT DISTINCT (t1.int_col) - (t1.tinyint_col) AS int_col, t1.bigint_col FROM alltypestiny t1 WHERE EXISTS (SELECT ABS(MIN(bigint_col)) AS int_col FROM alltypestiny WHERE (t1.int_col) = (year))
Postgres Query:
SELECT DISTINCT (t1.int_col) - (t1.tinyint_col) AS int_col, t1.bigint_col FROM alltypestiny t1 WHERE EXISTS (SELECT ABS(MIN(bigint_col)) AS int_col FROM alltypestiny WHERE (t1.int_col) = (year))
Number of rows returned by Impala: 0
Number of rows returned by Postgres: 2
DB: Functional
File Format: Text/None
git Hash: c295948