hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <>
Subject [jira] [Commented] (HIVE-494) Select columns by index instead of name
Date Sun, 11 Aug 2013 02:58:47 GMT


Navis commented on HIVE-494:

The patch for this was made once and I expect it to be found somewhere in local git (regardless
it might be based on hive-0.9 or older). It seemed very convenient especially for SQL generators.
I'll look into this, in tomorrow.
> Select columns by index instead of name
> ---------------------------------------
>                 Key: HIVE-494
>                 URL:
>             Project: Hive
>          Issue Type: Wish
>          Components: Clients, Query Processor
>            Reporter: Adam Kramer
>            Priority: Minor
>              Labels: SQL
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-494.D1641.1.patch
> SELECT mytable[0], mytable[2] FROM some_table_name mytable;
> ...should return the first and third columns, respectively, from mytable regardless of
their column names.
> The need for "names" specifically is kind of silly when they just get translated into
numbers anyway.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message