[ https://issues.apache.org/jira/browse/PHOENIX-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614087#comment-14614087 ]
maghamravikiran commented on PHOENIX-2036: ------------------------------------------ [~jmahonin] The tests run successfully locally but fail on the CI. When I try to escape the table name argument and test, it fails. {code} 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)) df1.registerTempTable("table3") val sqlRdd = sqlContext.sql("SELECT * FROM table3") val count = sqlRdd.count() count shouldEqual 2L } {code} Can you please have a look at it. > PhoenixConfigurationUtil should provide a pre-normalize table name to > PhoenixRuntime > ------------------------------------------------------------------------------------ > > Key: PHOENIX-2036 > URL: https://issues.apache.org/jira/browse/PHOENIX-2036 > 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, PHOENIX-2036.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 table. -- This message was sent by Atlassian JIRA (v6.3.4#6332)