Ruslan Dautkhanov created HIVE-25608:
----------------------------------------

             Summary: Document special characters for table names
                 Key: HIVE-25608
                 URL: https://issues.apache.org/jira/browse/HIVE-25608
             Project: Hive
          Issue Type: Bug
          Components: Documentation
            Reporter: Ruslan Dautkhanov


>From Hive documentation - 

 
{panel:title=Hive documentation}
 

Table names and column names are case insensitive.
 * In Hive 0.12 and earlier, only alphanumeric and underscore characters are 
allowed in table and column names.

 
{panel}
[https://cwiki.apache.org/confluence/display/hive/languagemanual+select]

metastore.support.special.characters.tablename=true 

makes possible to use special characters in table names.

[https://github.com/apache/hive/blob/af2089370130e0fc5c1c70600b2b45f91d12813e/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java#L1268]

and 
[https://github.com/apache/hive/blob/32c9a71ca3481688071fc1ba1db8685adcb2a6fd/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java#L202]

If special characters are officially supported in Hive, I will be happy to 
update the wiki or send a PR to fix this omission. Thanks! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to