Add Schemas.getExistingSubSchema to avoid NullPointerException #32
Annotations
2 errors and 1 warning
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/schema/Schemas.java
@@ -132,7 +132,7 @@
public static SchemaPlus getExistingSubSchema(SchemaPlus schema, String name){
SchemaPlus subSchema = schema.getSubSchema(name);
-····if·(·subSchema·==·null·)·{␊
+····if·(·subSchema·==·null)·{␊
throw new NoSuchElementException("Sub schema " + name + " not found in " + schema.toString());
}
return subSchema;
Run './gradlew autostyleApply' to fix the violations.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading