You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jayanthi R (JIRA)" <ji...@apache.org> on 2017/07/17 07:10:00 UTC

[jira] [Created] (HIVE-17106) Create a HIVE table withe the column names as aliases

Jayanthi R created HIVE-17106:
---------------------------------

             Summary: Create a HIVE table withe the column names as aliases
                 Key: HIVE-17106
                 URL: https://issues.apache.org/jira/browse/HIVE-17106
             Project: Hive
          Issue Type: Task
          Components: Hive
            Reporter: Jayanthi R


Hello, 
I have data in text file which i should load into hive table. The column names/headings in the text file is different from the table names which I should create while creating HIVE table. So, I want to alias these table names, how can I do it. 

I tried creating alias names in the create statement itself, but it was throwing error.
Ex: create table table_name(name String as nm, Work String as wk).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)