Palash Chauhan created PHOENIX-7747:
---------------------------------------

             Summary: Standardize table name handling by making getTable() 
accept quoted identifiers
                 Key: PHOENIX-7747
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7747
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Palash Chauhan
            Assignee: Palash Chauhan
             Fix For: 5.4.0


SchemaUtil has multiple APIs for generating table names and their usage during 
handling of quoted vs. unquoted names creates confusion and bugs. The 
getTable() API requires normalized (unquoted, case-preserved) names, while SQL 
queries require properly quoted names for case-sensitive names. This mismatch 
causes issues when a single code path needs to both execute SQL and call 
getTable() since we need to maintain different name formats. 

We can modify the getTable API to accept quoted names and normalizing them 
before lookup. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to