Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.1
-
None
-
None
Description
The query below is a valid uncorrelated subquery but Impala says a column is ambiguous
Query: select 1 FROM alltypestiny WHERE int_col IN ( SELECT 1 AS int_col FROM alltypesagg) ERROR: AnalysisException: unqualified column reference 'int_col' is ambiguous
Postgresql
functional=# select 1 FROM alltypestiny WHERE int_col IN ( functional(# SELECT 1 AS int_col FROM alltypesagg) LIMIT 1; ?column? ---------- 1 (1 row)