zstan commented on code in PR #2712:
URL: https://github.com/apache/ignite-3/pull/2712#discussion_r1398783398


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/schema/SqlSchemaManagerImpl.java:
##########
@@ -178,6 +178,10 @@ private static IgniteSchema createSqlSchema(int 
catalogVersion, CatalogSchemaDes
         // Assemble indexes as they are required by tables.
         for (CatalogIndexDescriptor indexDescriptor : 
schemaDescriptor.indexes()) {
             int tableId = indexDescriptor.tableId();
+            if (!indexDescriptor.available()) {

Review Comment:
   seems we not need tableId if indexDescriptor.available() == false ) move 
this check one line upper ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to