Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 1.1
-
None
-
None
Description
Impala should avoid the use of c_# style auto-generated column aliases unless it is required (Hive view compatibility). Using _c# aliases by default causes less useful column header output. This is especially painful when a large number of columns are selected since it makes it hard to map the result set column to the actual field in the query.
Old Output:
Query: select max(ss_sold_date_sk), max(ss_sold_time_sk) from store_sales Query finished, fetching results ... +----------------------+----------------------+ | max(ss_sold_date_sk) | max(ss_sold_time_sk) | +----------------------+----------------------+ | 2452642 | 75599 | +----------------------+----------------------+
Current output:
Query: select max(ss_sold_date_sk), max(ss_sold_time_sk) from store_sales Query finished, fetching results ... +---------+-------+ | _c0 | _c1 | +---------+-------+ | 2452642 | 75599 | +---------+-------+