[
https://issues.apache.org/jira/browse/IGNITE-22000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin updated IGNITE-22000:
--------------------------------------
Description:
Every DDL command goes through two levels of conversion now.
>From {{AST}} into {{DdlCommand}} using {{DdlSqlToCommandConverter}}.
And from {{DdlCommand}} into {{CatalogCommand}} (using
{{DdlToCatalogCommandConverter}}).
It looks like we should do only single conversion {{AST}} =>
{{CatalogCommand}}}.
was:
Every DDL command goes through two levels of conversion now.
>From {{AST}} into {{DdlCommand}} using {{DdlSqlToCommandConverter}}.
And from {{DdlCommand}} into {{CatalogCommand}} (using
{{DdlToCatalogCommandConverter}}).
It looks like we should get rid of this intermediate conversion into
{{DdlCommand}}, and do only single conversion {{AST}} => {{CatalogCommand}}}.
> Sql. Get rid of DdlSqlToCommandConverter
> ----------------------------------------
>
> Key: IGNITE-22000
> URL: https://issues.apache.org/jira/browse/IGNITE-22000
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3, refactoring
>
> Every DDL command goes through two levels of conversion now.
> From {{AST}} into {{DdlCommand}} using {{DdlSqlToCommandConverter}}.
> And from {{DdlCommand}} into {{CatalogCommand}} (using
> {{DdlToCatalogCommandConverter}}).
> It looks like we should do only single conversion {{AST}} =>
> {{CatalogCommand}}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)