Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Impala 2.1
-
None
Description
This is more of a feature request than an a bug. I hope you guys would consider this.
A simple query statement like
"select 1 as a, a+1 as b;"
is supported in DB's like Netezza . It is a common way by which we write SQL code. This helps us in writing some otherwise complex logic pretty easily.
When i try the same in Impala I get the following error message
Query: select 1 as a,
a+1 as b
ERROR: AnalysisException: couldn't resolve column reference: 'a'