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

Pavel Pereslegin updated IGNITE-20231:
--------------------------------------
    Description: 
As for now, we resolve dependencies after cutting a query plan into fragments.
After switching to Catalog, we will have no real tables/indexes available at 
planning stage (just descriptors). Planner requires table statistics, which is 
broken after switching to the Catalog.

Let's resolve all the dependencies before start planner to fix table statistics.
Also, ExecutableTableImpl instantiates ScannableTable and UpdatableTable 
regardless if the table is used for scan or update. Let's make lazy 
instantiation.

> Sql. Statistics design
> ----------------------
>
>                 Key: IGNITE-20231
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20231
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Andrey Mashenkov
>            Priority: Major
>              Labels: ignite-3
>
> As for now, we resolve dependencies after cutting a query plan into fragments.
> After switching to Catalog, we will have no real tables/indexes available at 
> planning stage (just descriptors). Planner requires table statistics, which 
> is broken after switching to the Catalog.
> Let's resolve all the dependencies before start planner to fix table 
> statistics.
> Also, ExecutableTableImpl instantiates ScannableTable and UpdatableTable 
> regardless if the table is used for scan or update. Let's make lazy 
> instantiation.



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

Reply via email to