HIVE-3107: Improve semantic analyzer to better handle column name references in group by/sort by clauses
Review Request #15525 - Created Nov. 14, 2013 and submitted
Following queries all fail with various SemanticExceptions: explain select t.c from t group by c; explain select t.c from t group by c sort by t.c; explain select t.c as c0 from t group by c0; explain select t.c from t group by t.c sort by t.c;
added groupby_resolution.q that tests the jira listed. Also added tests for having and windowing.
Review request changed
Updated (Nov. 20, 2013, 5:55 p.m.)
- changed from pending to submitted