Description
CREATE TABLE some_table (c INT); WITH t1 AS ( SELECT 0 AS a, 0 AS b FROM some_table ) SELECT a, b, count(1) AS cnt FROM t1 GROUP BY a, b
returns
Error: Error while compiling statement: FAILED: SemanticException [Error 10002]: Line 16:2 Invalid column reference 'b' (state=42000,code=10002)
Attachments
Issue Links
- relates to
-
HIVE-12784 Group by SemanticException: Invalid column reference
- Closed