tkalkirill commented on code in PR #2243:
URL: https://github.com/apache/ignite-3/pull/2243#discussion_r1239689410


##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/CatalogServiceImpl.java:
##########
@@ -863,4 +654,197 @@ private Catalog applyUpdateFinal(Catalog catalog, 
VersionedUpdate update) {
                 catalog.schemas()
         );
     }
+
+    private static CatalogSchemaDescriptor getSchema(Catalog catalog, 
@Nullable String schemaName) {
+        schemaName = Objects.requireNonNullElse(schemaName, 
DEFAULT_SCHEMA_NAME);
+
+        return Objects.requireNonNull(catalog.schema(schemaName), "No schema 
found: " + schemaName);
+    }
+
+    private static CatalogTableDescriptor getTable(CatalogSchemaDescriptor 
schema, @Nullable String tableName) {
+        CatalogTableDescriptor table = schema.table(tableName);

Review Comment:
   fix it



-- 
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