Andrey Mashenkov created IGNITE-20231: -----------------------------------------
Summary: Sql. Resolve dependencies before query planning. Key: IGNITE-20231 URL: https://issues.apache.org/jira/browse/IGNITE-20231 Project: Ignite Issue Type: Improvement Components: sql Reporter: Andrey Mashenkov 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)