You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/04/17 20:42:59 UTC

[jira] [Comment Edited] (PHOENIX-1682) PhoenixRuntime.getTable() does not work with case-sensitive table names

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

James Taylor edited comment on PHOENIX-1682 at 4/17/15 6:42 PM:
----------------------------------------------------------------

[~ivanweiss] - the fix for this issue is to *not* normalize in the PhoenixRuntime.getTable() call. Maybe I'm missing something, but I don't see how your questions are relevant.


was (Author: jamestaylor):
[~ivanweiss] - the fix for this issue is to *not* normalize in the hoenixRuntime.getTable() call. Maybe I'm missing something, but I don't see how your questions are relevant.

> PhoenixRuntime.getTable() does not work with case-sensitive table names
> -----------------------------------------------------------------------
>
>                 Key: PHOENIX-1682
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1682
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>            Reporter: Eli Levine
>            Assignee: Ivan Weiss
>              Labels: Newbie
>
> PhoenixRuntime.getTable(conn, name) assumes _name_ is a single component because it calls SchemaUtil.normalizeIdentifier(name) on the whole thing, without breaking up _name_ into table name and schema name components. In cases where a table is case sensitive (created with _schemaName."tableName"_) this will result in getTable not finding the table.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)