[ 
https://issues.apache.org/jira/browse/IGNITE-24211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-24211:
--------------------------------------
    Summary: Sql. Fix invalid qualified name usage in Catalog object.  (was: 
Sql. Avoid accessing of Catalog object directly from outside the module.)

> Sql. Fix invalid qualified name usage in Catalog object.
> --------------------------------------------------------
>
>                 Key: IGNITE-24211
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24211
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Andrey Mashenkov
>            Assignee: Andrey Mashenkov
>            Priority: Major
>              Labels: ignite-3, tech-debt
>             Fix For: 3.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Catalog object is an internal container for descriptors and wasn't designed 
> to be used directly outside the module.
> The class has public modifier just to allow Catalog commands access it from 
> the different package of the same (ignite-catalog) module moved for better 
> code organization.
> Now, ignite-rest and ignite-table modules access Catalog object directly.
> Moreover, they exploits it's internals in wrong way: cache table descriptors 
> by "canonical name" as concatenation of schemaName and tableName via dot 
> notation without escaping.
> Let's avoid direct using of Catalog objects.



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

Reply via email to