Andrey Mashenkov created IGNITE-24211:
-----------------------------------------
Summary: Sql. Avoid accessing of Catalog object directly from
outside the module.
Key: IGNITE-24211
URL: https://issues.apache.org/jira/browse/IGNITE-24211
Project: Ignite
Issue Type: Bug
Components: sql
Reporter: Andrey Mashenkov
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)