[
https://issues.apache.org/jira/browse/PHOENIX-7747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Palash Chauhan updated PHOENIX-7747:
------------------------------------
Summary: Standardize table name handling by making getTable() accept quoted
names (was: Standardize table name handling by making getTable() accept quoted
identifiers)
> Standardize table name handling by making getTable() accept quoted names
> ------------------------------------------------------------------------
>
> Key: PHOENIX-7747
> URL: https://issues.apache.org/jira/browse/PHOENIX-7747
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Palash Chauhan
> Assignee: Palash Chauhan
> Priority: Major
> 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)