This is more of a feature request than an a bug. I hope you guys would consider this.
A simple query statement like
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'