EXPB-2299 Speed up schema lookup for huge schemas #154
Annotations
10 errors and 2 warnings
task ':core:compileJava'#L1
Execution failed for task ':core:compileJava':
org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:58)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:41)
at org.gradle.api.internal.tasks.compile.daemon.AbstractDaemonCompiler$CompilerWorkAction.execute(AbstractDaemonCompiler.java:135)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
at org.gradle.workers.internal.AbstractClassLoaderWorker$1.create(AbstractClassLoaderWorker.java:49)
at org.gradle.workers.internal.AbstractClassLoaderWorker$1.create(AbstractClassLoaderWorker.java:43)
at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)
at org.gradle.workers.internal.AbstractClassLoaderWorker.executeInClassLoader(AbstractClassLoaderWorker.java:43)
at org.gradle.workers.internal.FlatClassLoaderWorker.run(FlatClassLoaderWorker.java:32)
at org.gradle.workers.internal.FlatClassLoaderWorker.run(FlatClassLoaderWorker.java:22)
at org.gradle.workers.internal.WorkerDaemonServer.run(WorkerDaemonServer.java:87)
at org.gradle.workers.internal.WorkerDaemonServer.run(WorkerDaemonServer.java:56)
at org.gradle.process.internal.worker.request.WorkerAction$1.call(WorkerAction.java:138)
at org.gradle.process.internal.worker.child.WorkerLogEventListener.withWorkerLoggingProtocol(WorkerLogEventListener.java:41)
at org.gradle.process.internal.worker.request.WorkerAction.run(WorkerAction.java:135)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:414)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
|
|
core/src/main/java/org/apache/calcite/jdbc/CalciteSchema.java#L94
[Task :core:compileJava] [method.invocation.invalid] call to tableEntry(java.lang.String,org.apache.calcite.schema.Table) not allowed on the given receiver.
this.tables = Lookup.concat(Lookup.of(this.tableMap),schema.tables().map((s,n) -> tableEntry(n,s)));
^
found : @UnderInitialization @nonnull CalciteSchema
|
core/src/main/java/org/apache/calcite/jdbc/CalciteSchema.java#L97
[Task :core:compileJava] [method.invocation.invalid] call to createSubSchema(org.apache.calcite.schema.Schema,java.lang.String) not allowed on the given receiver.
this.subSchemas = Lookup.concat(Lookup.of(this.subSchemaMap),schema.subSchemas().map((s,n) -> createSubSchema(s,n)));
^
found : @UnderInitialization @nonnull CalciteSchema
|
core/src/main/java/org/apache/calcite/jdbc/CalciteSchema.java#L244
[Task :core:compileJava] [argument.type.incompatible] incompatible argument for parameter named of entity.
: Named.entity(subSchemas.getIgnoreCase(schemaName));
^
found : @initialized @nullable Named<@initialized @nonnull CalciteSchema>
|
core/src/main/java/org/apache/calcite/schema/Schema.java#L71
[Task :core:compileJava] [methodref.return.invalid] Incompatible return type
return new SimpleLookup<Table>(this::getTable, this::getTableNames);
^
found : @initialized @nullable Table
|
core/src/main/java/org/apache/calcite/schema/Schema.java#L75
[Task :core:compileJava] [methodref.return.invalid] Incompatible return type
return new SimpleLookup<Schema>(this::getSubSchema, this::getSubSchemaNames);
^
found : @initialized @nullable Schema
|
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java#L63
[Task :core:compileJava] [return.type.incompatible] incompatible types in return.
return null;
^
type of expression: @initialized @nullable NullType
|
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java#L67
[Task :core:compileJava] [argument.type.incompatible] incompatible argument for parameter named of entity.
return Named.entity(lookup.getIgnoreCase(name));
^
found : @initialized @nullable Named<T extends @initialized @nullable Object>
|
core/src/main/java/org/apache/calcite/schema/lookup/Named.java#L43
[Task :core:compileJava] [return.type.incompatible] incompatible types in return.
return named == null ? null : named.entity;
^
type of expression: T[ extends @initialized @nullable Object super @initialized @nullable Void]
|
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 following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading