You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2019/01/23 07:34:00 UTC

[jira] [Commented] (HIVE-21151) Fix support of dot in quted identifiers

    [ https://issues.apache.org/jira/browse/HIVE-21151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16749616#comment-16749616 ] 

Zoltan Haindrich commented on HIVE-21151:
-----------------------------------------

I think the a solution candidate would be to introducing a TableRef object which would contain the catalog/database/table name infos...so that these half solutions could go away...

so instead of passing around "Strings" about {{dbName, tableName}}  ; a single TableRef could be passed; which could ensure that both the database/catalog name is present everywhere - and its the correct one; because it would only needed to be construct properly at some early stage.

> Fix support of dot in quted identifiers
> ---------------------------------------
>
>                 Key: HIVE-21151
>                 URL: https://issues.apache.org/jira/browse/HIVE-21151
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Haindrich
>            Priority: Major
>
> Dot should be allowed in quoted identifiers; but because there are some methods which rely on splitting the "dbtable" string by the dot HIVE-16907 have removed that option.
> https://github.com/apache/hive/blob/dfd63d97902b359e1643e955a4d070ac983debd5/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L2180



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)