ygerzhedovich commented on code in PR #1114:
URL: https://github.com/apache/ignite-3/pull/1114#discussion_r978760211
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/SqlQueryProcessor.java:
##########
@@ -344,7 +347,8 @@ private CompletableFuture<AsyncSqlCursor<List<Object>>>
querySingle0(
SchemaPlus schema = sqlSchemaManager.schema(schemaName);
if (schema == null) {
- return CompletableFuture.failedFuture(new
IgniteInternalException(format("Schema not found [schemaName={}]",
schemaName)));
+ return CompletableFuture.failedFuture(
+ new IgniteInternalException(SCHEMA_NOT_FOUND_ERR,
format("Schema not found [schemaName={}]", schemaName)));
Review Comment:
I think it should be public exception
--
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]