phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-1682) PhoenixRuntime.getTable() does not work with case-sensitive table names
Date Mon, 20 Apr 2015 20:13:58 GMT

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

ASF GitHub Bot commented on PHOENIX-1682:
-----------------------------------------

GitHub user cbrcrash opened a pull request:

    https://github.com/apache/phoenix/pull/71

    [PHOENIX-1682] removed normalization of table name from PhoenixRuntime.getTable()

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cbrcrash/phoenix master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/phoenix/pull/71.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #71
    
----
commit 7ec6fa8b6bc314b914b0de68b3f44aee014585a5
Author: Ivan <iweiss@salesforce.com>
Date:   2015-04-20T20:02:01Z

    removed normilization of table name from PhoenixRuntime.getTable()

----


> 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)

Mime
View raw message