AMashenkov commented on code in PR #3081:
URL: https://github.com/apache/ignite-3/pull/3081#discussion_r1464626537
##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/commands/CatalogUtils.java:
##########
@@ -138,6 +139,13 @@ public class CatalogUtils {
ALTER_COLUMN_TYPE_TRANSITIONS.put(ColumnType.DECIMAL,
EnumSet.of(ColumnType.DECIMAL));
}
+ public static final List<String> SYSTEM_SCHEMAS =
List.of(SYSTEM_SCHEMA_NAME);
+
+ /** System schema names. */
+ static boolean isSystemSchema(String schemaName) {
+ return SYSTEM_SCHEMAS.contains(schemaName);
Review Comment:
Do we want to make schema name case insensitive by default?
If so, then it make sense to transform 'schemaName' to upperCase or
lowerCase at first.
--
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]