hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <>
Subject [jira] [Created] (HIVE-10120) Disallow create table with dot/colon in column name
Date Fri, 27 Mar 2015 20:27:53 GMT
Pengcheng Xiong created HIVE-10120:

             Summary: Disallow create table with dot/colon in column name
                 Key: HIVE-10120
             Project: Hive
          Issue Type: Improvement
            Reporter: Pengcheng Xiong
            Assignee: Pengcheng Xiong

Since we don't allow users to query column names with dot in the middle such as, don't
allow users to create tables with such columns that cannot be queried. Fix the documentation
to reflect this fix.

Here is an example. Consider this table:
CREATE TABLE a (`` string);
select `` from a; fails with this message:
FAILED: RuntimeException java.lang.RuntimeException: cannot find field emp from []

The hive documentation needs to be fixed:
 ( seems to  indicate
that any Unicode character can go between the backticks in the select statement, but it doesn’t
like the dot/colon or even select * when there is a column that has a dot/colon. 

This message was sent by Atlassian JIRA

View raw message