Josh Mahonin created PHOENIX-3543:
-------------------------------------

             Summary: SchemaUtil.getEscapedFullTableName doesn't seem to escape 
properly
                 Key: PHOENIX-3543
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3543
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.9.1
            Reporter: Josh Mahonin
            Priority: Minor


One of the phoenix-spark tests attempts a call to

{{SchemaUtil.getEscapedFullTableName("CUSTOM_ENTITY.z02")}}

as an option to specifying an escaped table manually:

{{"CUSTOM_ENTITY.\"z02\""}}

Unfortunately, the SchemaUtil call actually returns:

{{"CUSTOM_ENTITY"."z02"}}

This eventually cascades into a Spark query parsing error, as found in 
implementing PHOENIX-3333

This isn't a major issue at all, the only place this is ever called is from the 
unit test.



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

Reply via email to