You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2024/04/08 11:48:00 UTC

[jira] [Updated] (IGNITE-22000) Sql. Get rid of DdlSqlToCommandConverter

     [ 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 get rid of this intermediate conversion into {{DdlCommand}}, and do only single conversion {{AST}} => {{CatalogCommand}}}.

  was:
Each DDL command passes 2 layer conversion now.
From {{AST}} into {{DdlCommand}} using {{DdlSqlToCommandConverter}}.
And right after that from {{DdlCommand}} into {{CatalogCommand}} ({{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 get rid of this intermediate conversion into {{DdlCommand}}, and do only single conversion {{AST}} => {{CatalogCommand}}}.



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