phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maghamravikiran (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-2036) PhoenixConfigurationUtil should provide a pre-normalize table name to PhoenixRuntime
Date Sat, 04 Jul 2015 23:11:04 GMT


maghamravikiran commented on PHOENIX-2036:


 The tests run successfully locally but fail on the CI.  When I try to escape the table name
argument and test, it fails. 

test("Can create schema RDD and execute query on case sensitive table (no config)") {
    val sqlContext = new SQLContext(sc)
    val df1 = sqlContext.phoenixTableAsDataFrame(SchemaUtil.getEscapedArgument("table3"),
Array("id", "col1"),
      zkUrl = Some(quorumAddress))
    val sqlRdd = sqlContext.sql("SELECT * FROM table3")
    val count = sqlRdd.count()

    count shouldEqual 2L

Can you please have a look at it. 

> PhoenixConfigurationUtil should provide a pre-normalize table name to PhoenixRuntime
> ------------------------------------------------------------------------------------
>                 Key: PHOENIX-2036
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Siddhi Mehta
>            Assignee: maghamravikiran
>            Priority: Minor
>         Attachments: PHOENIX-2036-v1.patch, PHOENIX-2036-v1.patch, PHOENIX-2036-v2.patch,
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> I was trying a basic store using PhoenixHBaseStorage and ran into some issues with it
complaining about TableNotFoundException.
> The table(CUSTOM_ENTITY."z02") in question exists.
> Looking at the stacktrace I think its likely related to the change in PHOENIX-1682 where
phoenix runtime expects a pre-normalized table name.
> We need to update 
> PhoenixConfigurationUtil.getSelectColumnMetadataList(Configuration) be pass a pre-normalized

This message was sent by Atlassian JIRA

View raw message