Marcin Januszkiewicz created PHOENIX-3696:
---------------------------------------------

             Summary: phoenix-spark plugin doesn't handle column names with 
dots properly
                 Key: PHOENIX-3696
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3696
             Project: Phoenix
          Issue Type: Bug
            Reporter: Marcin Januszkiewicz


If a phoenix table contains a dot, then the table cannot be used with the 
phoenix-spark plugin. Given a simple table:

`CREATE TABLE "dot" ("key" VARCHAR PRIMARY KEY, "first.name" VARCHAR)`

The following code will fail:

`val df = sqlContext.load("org.apache.phoenix.spark", Map("table" -> 
SchemaUtil.getEscapedArgument("dot"), "zkUrl" -> quorumAddress))
//This will crash
df.show()`



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to