Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.6.0
Description
Impala uses _c# aliases for functions when a query is run against a view, while it does not use it when the same query is run against the real table. This is preventing applications to run transparently on the view. Impala should not use _c# aliases, unless necessary.
Query: select avg(col1) from impala_test_table +-----------+ | avg(col1) | +-----------+ | 1.5 | +-----------+
Query: select avg(col1) from impala_test_view +-----+ | _c0 | +-----+ | 1.5 | +-----+