Add missing import #31
main.yml
on: push
Windows (JDK 8)
11m 48s
Windows (JDK 17)
7m 31s
Linux (JDK 8), Oldest Guava, America/New_York Timezone
4m 52s
Linux (JDK 8), Latest Guava, America/New_York Timezone
8m 49s
Linux (JDK 11), Pacific/Chatham Timezone
5m 54s
Linux (JDK 17)
4m 42s
Linux (JDK 19)
4m 29s
Linux (JDK 11), Avatica main
8m 31s
macOS (JDK 19)
11m 6s
Error Prone (JDK 11), Guava 31
5m 30s
CheckerFramework (JDK 11)
14m 23s
CheckerFramework (JDK 11), Guava 29
12m 11s
Linux (JDK 8) Slow Tests
0s
Druid Tests
7m 44s
Annotations
68 errors and 13 warnings
Linux (JDK 19):
task ':core:checkstyleMain'#L1
Execution failed for task ':core:checkstyleMain':
org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:348)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$2(DefaultAsyncWorkTracker.java:130)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:304)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLock(DefaultWorkerLeaseService.java:309)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:126)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$0(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:198)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:188)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:78)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:66)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.ja
|
Linux (JDK 19)
Execution failed for task ':core:checkstyleMain'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at: file:///home/runner/work/calcite/calcite/core/build/reports/checkstyle/main.html
Checkstyle files with violations: 2
Checkstyle violations by severity: [error:2]
|
Linux (JDK 19):
core/src/main/java/org/apache/calcite/DataContext.java#L81
[Task :core:checkstyleMain] [WhitespaceAround] '{' is not preceded with whitespace.
|
Linux (JDK 19):
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableLimit.java#L126
[Task :core:checkstyleMain] [WhitespaceAfter] ',' is not followed by whitespace.
|
Linux (JDK 17):
task ':core:checkstyleMain'#L1
Execution failed for task ':core:checkstyleMain':
org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:348)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$2(DefaultAsyncWorkTracker.java:130)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:304)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLock(DefaultWorkerLeaseService.java:309)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:126)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$0(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:198)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:188)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:78)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:66)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.ja
|
Linux (JDK 17)
Execution failed for task ':core:checkstyleMain'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at: file:///home/runner/work/calcite/calcite/core/build/reports/checkstyle/main.html
Checkstyle files with violations: 2
Checkstyle violations by severity: [error:2]
|
Linux (JDK 17):
core/src/main/java/org/apache/calcite/DataContext.java#L81
[Task :core:checkstyleMain] [WhitespaceAround] '{' is not preceded with whitespace.
|
Linux (JDK 17):
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableLimit.java#L126
[Task :core:checkstyleMain] [WhitespaceAfter] ',' is not followed by whitespace.
|
Linux (JDK 8), Oldest Guava, America/New_York Timezone:
task ':core:checkstyleMain'#L1
Execution failed for task ':core:checkstyleMain':
org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:348)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$2(DefaultAsyncWorkTracker.java:130)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:304)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLock(DefaultWorkerLeaseService.java:309)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:126)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$0(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:198)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:188)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:78)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:66)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.ja
|
Linux (JDK 8), Oldest Guava, America/New_York Timezone
Execution failed for task ':core:checkstyleMain'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at: file:///home/runner/work/calcite/calcite/core/build/reports/checkstyle/main.html
Checkstyle files with violations: 2
Checkstyle violations by severity: [error:2]
|
Linux (JDK 8), Oldest Guava, America/New_York Timezone:
core/src/main/java/org/apache/calcite/DataContext.java#L81
[Task :core:checkstyleMain] [WhitespaceAround] '{' is not preceded with whitespace.
|
Linux (JDK 8), Oldest Guava, America/New_York Timezone:
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableLimit.java#L126
[Task :core:checkstyleMain] [WhitespaceAfter] ',' is not followed by whitespace.
|
Linux (JDK 11), Pacific/Chatham Timezone:
task ':core:checkstyleMain'#L1
Execution failed for task ':core:checkstyleMain':
org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:348)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$2(DefaultAsyncWorkTracker.java:130)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:304)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLock(DefaultWorkerLeaseService.java:309)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:126)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$0(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:198)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:188)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:78)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:66)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.ja
|
Linux (JDK 11), Pacific/Chatham Timezone
Execution failed for task ':core:checkstyleMain'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at: file:///home/runner/work/calcite/calcite/core/build/reports/checkstyle/main.html
Checkstyle files with violations: 2
Checkstyle violations by severity: [error:2]
|
Linux (JDK 11), Pacific/Chatham Timezone:
core/src/main/java/org/apache/calcite/DataContext.java#L81
[Task :core:checkstyleMain] [WhitespaceAround] '{' is not preceded with whitespace.
|
Linux (JDK 11), Pacific/Chatham Timezone:
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableLimit.java#L126
[Task :core:checkstyleMain] [WhitespaceAfter] ',' is not followed by whitespace.
|
Windows (JDK 17):
task ':core:checkstyleMain'#L1
Execution failed for task ':core:checkstyleMain':
org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:348)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$2(DefaultAsyncWorkTracker.java:130)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:304)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLock(DefaultWorkerLeaseService.java:309)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:126)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$0(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:198)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:188)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:78)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:66)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.ex
|
Windows (JDK 17)
Execution failed for task ':core:checkstyleMain'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at: file:///D:/a/calcite/calcite/core/build/reports/checkstyle/main.html
Checkstyle files with violations: 2
Checkstyle violations by severity: [error:2]
|
Windows (JDK 17):
\core\src\main\java\org\apache\calcite\adapter\enumerable\EnumerableLimit.java#L126
[Task :core:checkstyleMain] [WhitespaceAfter] ',' is not followed by whitespace.
|
Windows (JDK 17):
\core\src\main\java\org\apache\calcite\DataContext.java#L81
[Task :core:checkstyleMain] [WhitespaceAround] '{' is not preceded with whitespace.
|
Druid Tests:
DruidAdapter2IT.java#L3475
1.9sec org.apache.calcite.test.DruidAdapter2IT > testAggOverStringToLong()
java.sql.SQLException: Error while executing SQL "SELECT SUM(cast("product_id" AS INTEGER)) FROM "foodmart"": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return org.apache.calcite.runtime.Enumerables.slice0(interpreter);
}
public Class getElementType() {
return java.lang.Integer.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$queryContains$10(CalciteAssert.java:1736)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.queryContains(CalciteAssert.java:1735)
at org.apache.calcite.test.DruidAdapter2IT.testAggOverStringToLong(DruidAdapter2IT.java:3475)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 4 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return org.apache.calcite.runtime.Enumerables.slice0(interpreter);
}
public Class getElementType() {
return java.lang.Integer.class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 6 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org.apache.calcite.rel.RelNode"
at app//org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:13014)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11263)
at app//org.codeha
|
Druid Tests:
DruidAdapterIT.java#L4136
0.6sec org.apache.calcite.test.DruidAdapterIT > testAggOverStringToLong()
java.sql.SQLException: Error while executing SQL "SELECT SUM(cast("product_id" AS INTEGER)) FROM "foodmart"": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return org.apache.calcite.runtime.Enumerables.slice0(interpreter);
}
public Class getElementType() {
return java.lang.Integer.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$queryContains$10(CalciteAssert.java:1736)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.queryContains(CalciteAssert.java:1735)
at org.apache.calcite.test.DruidAdapterIT.testAggOverStringToLong(DruidAdapterIT.java:4136)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 4 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return org.apache.calcite.runtime.Enumerables.slice0(interpreter);
}
public Class getElementType() {
return java.lang.Integer.class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 6 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org.apache.calcite.rel.RelNode"
at app//org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:13014)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11263)
at app//org.codehaus.
|
Druid Tests:
DruidAdapterIT.java#L2133
0.5sec org.apache.calcite.test.DruidAdapterIT > testRecursiveArithmeticOperation()
java.sql.SQLException: Error while executing SQL "select "store_state", -1 * (a + b) as c from (select (sum("store_sales")-sum("store_cost")) / (count(*) * 3) AS a,sum("unit_sales") AS b, "store_state" from "foodmart" group by "store_state") order by c desc": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.DruidAdapterIT.testRecursiveArithmeticOperation(DruidAdapterIT.java:2133)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 8 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org
|
Druid Tests:
DruidAdapter2IT.java#L1829
0.5sec org.apache.calcite.test.DruidAdapter2IT > testRecursiveArithmeticOperation()
java.sql.SQLException: Error while executing SQL "select "store_state", -1 * (a + b) as c from (select (sum("store_sales")-sum("store_cost")) / (count(*) * 3) AS a,sum("unit_sales") AS b, "store_state" from "foodmart" group by "store_state") order by c desc": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.DruidAdapter2IT.testRecursiveArithmeticOperation(DruidAdapter2IT.java:1829)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 8 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "
|
Druid Tests:
DruidAdapterIT.java#L329
0.8sec org.apache.calcite.test.DruidAdapterIT > testFilterTime()
java.sql.SQLException: Error while executing SQL "select cast("__time" as timestamp) as "__time"
from "wikipedia"
where "__time" < '2015-10-12 00:00:00 UTC'": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return org.apache.calcite.runtime.Enumerables.slice0(interpreter);
}
public Class getElementType() {
return long.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsUnordered(CalciteAssert.java:1491)
at org.apache.calcite.test.DruidAdapterIT.testFilterTime(DruidAdapterIT.java:329)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=2
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return org.apache.calcite.runtime.Enumerables.slice0(interpreter);
}
public Class getElementType() {
return long.class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 8 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org.apache.calcite.rel.RelNode"
at app//org.codehaus.janino.Unit
|
Druid Tests:
DruidAdapter2IT.java#L3361
0.4sec org.apache.calcite.test.DruidAdapter2IT > testPushOfSimpleColumnAPlusColumnB()
java.sql.SQLException: Error while executing SQL "SELECT COS("store_sales" + "store_cost") + 1, EXTRACT(DAY from "timestamp") + 1 as D FROM "foodmart"WHERE "store_sales" < 20 order by D limit 3": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$runs$4(CalciteAssert.java:1529)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.runs(CalciteAssert.java:1527)
at org.apache.calcite.test.DruidAdapter2IT.testPushOfSimpleColumnAPlusColumnB(DruidAdapter2IT.java:3361)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 4 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 6 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org.apache.calcite.rel.RelNode"
at app//org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:13014)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11263)
at app//org.codehaus
|
Druid Tests:
DruidAdapterIT.java#L4022
0.2sec org.apache.calcite.test.DruidAdapterIT > testPushOfSimpleColumnAPlusColumnB()
java.sql.SQLException: Error while executing SQL "SELECT COS("store_sales" + "store_cost") + 1, EXTRACT(DAY from "timestamp") + 1 as D FROM "foodmart"WHERE "store_sales" < 20 order by D limit 3": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$runs$4(CalciteAssert.java:1529)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.runs(CalciteAssert.java:1527)
at org.apache.calcite.test.DruidAdapterIT.testPushOfSimpleColumnAPlusColumnB(DruidAdapterIT.java:4022)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 4 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 6 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org.apache.calcite.rel.RelNode"
at app//org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:13014)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11263)
at app//org.codehaus.ja
|
Druid Tests:
DruidAdapter2IT.java#L495
0.3sec org.apache.calcite.test.DruidAdapter2IT > testGroupByDaySortDimension()
java.sql.SQLException: Error while executing SQL "select "brand_name", floor("timestamp" to DAY) as d, sum("unit_sales") as s
from "foodmart"
group by "brand_name", floor("timestamp" to DAY)
order by "brand_name"": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$runs$4(CalciteAssert.java:1529)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.runs(CalciteAssert.java:1527)
at org.apache.calcite.test.DruidAdapter2IT.testGroupByDaySortDimension(DruidAdapter2IT.java:495)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 4 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 6 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org.apache.calcite.rel.RelNode"
at app//org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:13014)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11263)
at app//org.codeh
|
Druid Tests:
DruidAdapterIT.java#L4146
0.2sec org.apache.calcite.test.DruidAdapterIT > testAggOnTimeExtractColumn()
java.sql.SQLException: Error while executing SQL "SELECT SUM(EXTRACT(MONTH FROM "__time")) FROM "wikipedia"": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return org.apache.calcite.runtime.Enumerables.slice0(interpreter);
}
public Class getElementType() {
return java.lang.Long.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.DruidAdapterIT.testAggOnTimeExtractColumn(DruidAdapterIT.java:4146)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return org.apache.calcite.runtime.Enumerables.slice0(interpreter);
}
public Class getElementType() {
return java.lang.Long.class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 8 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org.apache.calcite.rel.RelNode"
at app//org.codehaus.janino.UnitCompi
|
Druid Tests:
DruidAdapterIT.java#L765
0.2sec org.apache.calcite.test.DruidAdapterIT > testGroupByDaySortDimension()
java.sql.SQLException: Error while executing SQL "select "brand_name", cast(floor("timestamp" to DAY) as timestamp) as d, sum("unit_sales") as s
from "foodmart"
group by "brand_name", floor("timestamp" to DAY)
order by "brand_name"": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$runs$4(CalciteAssert.java:1529)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.runs(CalciteAssert.java:1527)
at org.apache.calcite.test.DruidAdapterIT.testGroupByDaySortDimension(DruidAdapterIT.java:765)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 4 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.rel.RelNode v1stashed = root.get("v1stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v1stashed);
return interpreter;
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:128)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1169)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:324)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:665)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:519)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:487)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:236)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:630)
at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:677)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:157)
... 6 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 3, Column 57: Assignment conversion not possible from type "java.lang.Object" to type "org.apache.calcite.rel.RelNode"
at app//org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:13014)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11263)
a
|
Linux (JDK 11), Avatica main:
task ':core:checkstyleMain'#L1
Execution failed for task ':core:checkstyleMain':
org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:348)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$2(DefaultAsyncWorkTracker.java:130)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:304)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLock(DefaultWorkerLeaseService.java:309)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:126)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$0(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:198)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsIsolatedTask(DefaultWorkerLeaseService.java:188)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:100)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:78)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:66)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.ja
|
Linux (JDK 11), Avatica main
Execution failed for task ':core:checkstyleMain'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at: file:///home/runner/work/calcite/calcite/core/build/reports/checkstyle/main.html
Checkstyle files with violations: 2
Checkstyle violations by severity: [error:2]
|
Linux (JDK 11), Avatica main:
core/src/main/java/org/apache/calcite/DataContext.java#L81
[Task :core:checkstyleMain] [WhitespaceAround] '{' is not preceded with whitespace.
|
Linux (JDK 11), Avatica main:
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableLimit.java#L126
[Task :core:checkstyleMain] [WhitespaceAfter] ',' is not followed by whitespace.
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionTest.java#L316
0.1sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testRepeatUnionWithCorrelateWithTransientScanOnItsRight()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 2) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).hierarchies).correlateJoin(org.apache.calcite.linq4j.JoinType.INNER, new org.apache.calcite.linq4j.function.Function1() {
public org.apache.calcite.linq4j.AbstractEnumerable apply(final org.apache.calcite.test.schemata.hr.HierarchySchema.Hierarchy $cor0) {
{
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
return new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) == $cor0.managerid) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]);
}
};
}
};
}
}
public Object apply(final Object $cor0) {
return apply(
(org.apache.calcite.test.schemata.hr.Hierarchy
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionTest.java#L239
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbersWithNull()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("DELTA", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
final Boolean binary_call_value = (Integer) inputEnumerator.current() == null ? null : Boolean.valueOf(((Integer) inputEnumerator.current()).intValue() < 3);
if (binary_call_value != null && org.apache.calcite.runtime.SqlFunctions.toBoolean(binary_call_value)) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return (Integer) inputEnumerator.current() == null ? null : Integer.valueOf(((Integer) inputEnumerator.current()).intValue() + 1);
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
Integer.valueOf(1),
Integer.valueOf(2),
null,
Integer.valueOf(3)})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("DELTA");
}
}
);
}
public Class getElementType() {
return java.lang.Integer.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbersWithNull(EnumerableRepeatUnionTest.java:239)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calci
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionTest.java#L214
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbersNestedRecursion()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.schema.TransientTable v2stashed = root.get("v2stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v3stashed = root.get("v3stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.rel.RelNode v4stashed = root.get("v4stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("T_OUT", v1stashed);
root.getRootSchema().add("T_IN", v2stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v3stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 9) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1;
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter0 = new org.apache.calcite.interpreter.Interpreter(
root,
v4stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.runtime.Enumerables.slice0(interpreter0);
final org.apache.calcite.linq4j.AbstractEnumerable input0 = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 100) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) * 10;
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_OUT")).getModifiableCollection(), org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_IN")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
1})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_IN")).getModifiableCollection(), input), -1, true, org.apache.calcite.
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionTest.java#L166
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testFactorial()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("D", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) < 7) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final Object[] current = (Object[]) inputEnumerator.current();
final int binary_call_value = org.apache.calcite.runtime.SqlFunctions.toInt(current[0]) + 1;
return new Object[] {
binary_call_value,
binary_call_value * org.apache.calcite.runtime.SqlFunctions.toInt(current[1])};
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("D")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Object[] {
new Object[] {
0,
1}})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("D")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.arrayComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("D");
}
}
);
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testFactorial(EnumerableRepeatUnionTest.java:166)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLExce
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionTest.java#L125
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers3()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("AUX", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final Object[] current = (Object[]) inputEnumerator.current();
return new Object[] {
org.apache.calcite.runtime.SqlFunctions.mod(org.apache.calcite.runtime.SqlFunctions.toInt(current[0]) + 1, 10),
current[1]};
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Object[] {
new Object[] {
0,
0}})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), input), -1, false, org.apache.calcite.linq4j.function.Functions.arrayComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("AUX");
}
}
);
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers3(EnumerableRepeatUnionTest.java:125)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionTest.java#L97
0.1sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers2()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("AUX", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.mod(org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1, 10);
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
0})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), input), -1, false, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("AUX");
}
}
);
}
public Class getElementType() {
return int.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers2(EnumerableRepeatUnionTest.java:97)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
publi
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionTest.java#L70
0.1sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("DELTA", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1;
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
1})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("DELTA");
}
}
);
}
public Class getElementType() {
return int.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers(EnumerableRepeatUnionTest.java:70)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionHierarchyTest.java#L131
0.2sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[1], 1 : hierarchy(startIds:[1], ascendant:true, maxDepth:-1, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 1) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close(
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionHierarchyTest.java#L131
0.2sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[2], 2 : hierarchy(startIds:[2], ascendant:true, maxDepth:-2, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 2) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close(
|
Linux (JDK 8), Latest Guava, America/New_York Timezone:
EnumerableRepeatUnionHierarchyTest.java#L131
0.1sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[3], 3 : hierarchy(startIds:[3], ascendant:true, maxDepth:-1, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 3) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close(
|
macOS (JDK 19):
EnumerableRepeatUnionTest.java#L316
0.4sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testRepeatUnionWithCorrelateWithTransientScanOnItsRight()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 2) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).hierarchies).correlateJoin(org.apache.calcite.linq4j.JoinType.INNER, new org.apache.calcite.linq4j.function.Function1() {
public org.apache.calcite.linq4j.AbstractEnumerable apply(final org.apache.calcite.test.schemata.hr.HierarchySchema.Hierarchy $cor0) {
{
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
return new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) == $cor0.managerid) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]);
}
};
}
};
}
}
public Object apply(final Object $cor0) {
return apply(
(org.apache.calcite.test.schemata.hr.Hierarchy
|
macOS (JDK 19):
EnumerableRepeatUnionTest.java#L239
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbersWithNull()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("DELTA", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
final Boolean binary_call_value = (Integer) inputEnumerator.current() == null ? null : Boolean.valueOf(((Integer) inputEnumerator.current()).intValue() < 3);
if (binary_call_value != null && org.apache.calcite.runtime.SqlFunctions.toBoolean(binary_call_value)) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return (Integer) inputEnumerator.current() == null ? null : Integer.valueOf(((Integer) inputEnumerator.current()).intValue() + 1);
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
Integer.valueOf(1),
Integer.valueOf(2),
null,
Integer.valueOf(3)})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("DELTA");
}
}
);
}
public Class getElementType() {
return java.lang.Integer.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbersWithNull(EnumerableRepeatUnionTest.java:239)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.
|
macOS (JDK 19):
EnumerableRepeatUnionTest.java#L214
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbersNestedRecursion()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.schema.TransientTable v2stashed = root.get("v2stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v3stashed = root.get("v3stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.rel.RelNode v4stashed = root.get("v4stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("T_OUT", v1stashed);
root.getRootSchema().add("T_IN", v2stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v3stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 9) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1;
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter0 = new org.apache.calcite.interpreter.Interpreter(
root,
v4stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.runtime.Enumerables.slice0(interpreter0);
final org.apache.calcite.linq4j.AbstractEnumerable input0 = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 100) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) * 10;
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_OUT")).getModifiableCollection(), org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_IN")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
1})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_IN")).getModifiableCollection(), input), -1, true, org.apache.calcite.
|
macOS (JDK 19):
EnumerableRepeatUnionTest.java#L166
0.3sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testFactorial()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("D", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) < 7) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final Object[] current = (Object[]) inputEnumerator.current();
final int binary_call_value = org.apache.calcite.runtime.SqlFunctions.toInt(current[0]) + 1;
return new Object[] {
binary_call_value,
binary_call_value * org.apache.calcite.runtime.SqlFunctions.toInt(current[1])};
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("D")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Object[] {
new Object[] {
0,
1}})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("D")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.arrayComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("D");
}
}
);
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testFactorial(EnumerableRepeatUnionTest.java:166)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFEREN
|
macOS (JDK 19):
EnumerableRepeatUnionTest.java#L125
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers3()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("AUX", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final Object[] current = (Object[]) inputEnumerator.current();
return new Object[] {
org.apache.calcite.runtime.SqlFunctions.mod(org.apache.calcite.runtime.SqlFunctions.toInt(current[0]) + 1, 10),
current[1]};
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Object[] {
new Object[] {
0,
0}})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), input), -1, false, org.apache.calcite.linq4j.function.Functions.arrayComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("AUX");
}
}
);
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers3(EnumerableRepeatUnionTest.java:125)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.Runtim
|
macOS (JDK 19):
EnumerableRepeatUnionTest.java#L97
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers2()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("AUX", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.mod(org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1, 10);
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
0})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), input), -1, false, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("AUX");
}
}
);
}
public Class getElementType() {
return int.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers2(EnumerableRepeatUnionTest.java:97)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
|
macOS (JDK 19):
EnumerableRepeatUnionTest.java#L70
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("DELTA", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1;
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
1})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("DELTA");
}
}
);
}
public Class getElementType() {
return int.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers(EnumerableRepeatUnionTest.java:70)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumer
|
macOS (JDK 19):
EnumerableRepeatUnionHierarchyTest.java#L131
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[1], 1 : hierarchy(startIds:[1], ascendant:true, maxDepth:-1, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 1) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close(
|
macOS (JDK 19):
EnumerableRepeatUnionHierarchyTest.java#L131
0.3sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[2], 2 : hierarchy(startIds:[2], ascendant:true, maxDepth:-2, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 2) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close(
|
macOS (JDK 19):
EnumerableRepeatUnionHierarchyTest.java#L131
0.7sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[3], 3 : hierarchy(startIds:[3], ascendant:true, maxDepth:-1, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 3) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close(
|
Windows (JDK 8):
EnumerableRepeatUnionTest.java#L316
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testRepeatUnionWithCorrelateWithTransientScanOnItsRight()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 2) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).hierarchies).correlateJoin(org.apache.calcite.linq4j.JoinType.INNER, new org.apache.calcite.linq4j.function.Function1() {
public org.apache.calcite.linq4j.AbstractEnumerable apply(final org.apache.calcite.test.schemata.hr.HierarchySchema.Hierarchy $cor0) {
{
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
return new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) == $cor0.managerid) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]);
}
};
}
};
}
}
public Object apply(final Object $cor0) {
return apply(
(org.apache.calcite.test.schemata.hr.Hierarch
|
Windows (JDK 8):
EnumerableRepeatUnionTest.java#L239
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbersWithNull()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("DELTA", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
final Boolean binary_call_value = (Integer) inputEnumerator.current() == null ? null : Boolean.valueOf(((Integer) inputEnumerator.current()).intValue() < 3);
if (binary_call_value != null && org.apache.calcite.runtime.SqlFunctions.toBoolean(binary_call_value)) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return (Integer) inputEnumerator.current() == null ? null : Integer.valueOf(((Integer) inputEnumerator.current()).intValue() + 1);
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
Integer.valueOf(1),
Integer.valueOf(2),
null,
Integer.valueOf(3)})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("DELTA");
}
}
);
}
public Class getElementType() {
return java.lang.Integer.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbersWithNull(EnumerableRepeatUnionTest.java:239)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at or
|
Windows (JDK 8):
EnumerableRepeatUnionTest.java#L214
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbersNestedRecursion()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.schema.TransientTable v2stashed = root.get("v2stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v3stashed = root.get("v3stashed", org.apache.calcite.rel.RelNode.class);
final org.apache.calcite.rel.RelNode v4stashed = root.get("v4stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("T_OUT", v1stashed);
root.getRootSchema().add("T_IN", v2stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v3stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 9) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1;
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter0 = new org.apache.calcite.interpreter.Interpreter(
root,
v4stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.runtime.Enumerables.slice0(interpreter0);
final org.apache.calcite.linq4j.AbstractEnumerable input0 = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 100) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) * 10;
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_OUT")).getModifiableCollection(), org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_IN")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
1})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("T_IN")).getModifiableCollection(), input), -1, true, org.apache.calcite
|
Windows (JDK 8):
EnumerableRepeatUnionTest.java#L166
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testFactorial()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("D", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) < 7) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final Object[] current = (Object[]) inputEnumerator.current();
final int binary_call_value = org.apache.calcite.runtime.SqlFunctions.toInt(current[0]) + 1;
return new Object[] {
binary_call_value,
binary_call_value * org.apache.calcite.runtime.SqlFunctions.toInt(current[1])};
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("D")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Object[] {
new Object[] {
0,
1}})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("D")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.arrayComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("D");
}
}
);
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testFactorial(EnumerableRepeatUnionTest.java:166)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR
|
Windows (JDK 8):
EnumerableRepeatUnionTest.java#L125
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers3()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("AUX", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(((Object[]) inputEnumerator.current())[0]) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final Object[] current = (Object[]) inputEnumerator.current();
return new Object[] {
org.apache.calcite.runtime.SqlFunctions.mod(org.apache.calcite.runtime.SqlFunctions.toInt(current[0]) + 1, 10),
current[1]};
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Object[] {
new Object[] {
0,
0}})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), input), -1, false, org.apache.calcite.linq4j.function.Functions.arrayComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("AUX");
}
}
);
}
public Class getElementType() {
return java.lang.Object[].class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers3(EnumerableRepeatUnionTest.java:125)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lan
|
Windows (JDK 8):
EnumerableRepeatUnionTest.java#L97
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers2()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("AUX", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.mod(org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1, 10);
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
0})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("AUX")).getModifiableCollection(), input), -1, false, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("AUX");
}
}
);
}
public Class getElementType() {
return int.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers2(EnumerableRepeatUnionTest.java:97)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Ja
|
Windows (JDK 8):
EnumerableRepeatUnionTest.java#L70
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest > testGenerateNumbers()
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("DELTA", v1stashed);
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.runtime.Enumerables.slice0(interpreter);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) < 10) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
return org.apache.calcite.runtime.SqlFunctions.toInt(inputEnumerator.current()) + 1;
}
};
}
};
return org.apache.calcite.linq4j.EnumerableDefaults.repeatUnion(org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), org.apache.calcite.linq4j.Linq4j.asEnumerable(new Integer[] {
1})), org.apache.calcite.linq4j.EnumerableDefaults.lazyCollectionSpool(((org.apache.calcite.schema.ModifiableTable) root.getRootSchema().getTable("DELTA")).getModifiableCollection(), input), -1, true, org.apache.calcite.linq4j.function.Functions.identityComparer(), new org.apache.calcite.linq4j.function.Function0() {
public Object apply() {
return root.getRootSchema().removeTable("DELTA");
}
}
);
}
public Class getElementType() {
return int.class;
}
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:566)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1481)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1420)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1479)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1469)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1495)
at org.apache.calcite.test.enumerable.EnumerableRepeatUnionTest.testGenerateNumbers(EnumerableRepeatUnionTest.java:70)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:387)
at org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:598)
... 6 more
Next exception 1: [CIRCULAR REFERENCE SQLException]
Next exception 2: java.lang.RuntimeException: Error while compiling generated Java code:
public org.apache.calcite.linq4
|
Windows (JDK 8):
EnumerableRepeatUnionHierarchyTest.java#L131
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[1], 1 : hierarchy(startIds:[1], ascendant:true, maxDepth:-1, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 1) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close
|
Windows (JDK 8):
EnumerableRepeatUnionHierarchyTest.java#L131
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[2], 2 : hierarchy(startIds:[2], ascendant:true, maxDepth:-2, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 2) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close
|
Windows (JDK 8):
EnumerableRepeatUnionHierarchyTest.java#L131
0.0sec org.apache.calcite.test.enumerable.EnumerableRepeatUnionHierarchyTest > testHierarchy(boolean, int[], String, boolean, int, String[])[3], 3 : hierarchy(startIds:[3], ascendant:true, maxDepth:-1, all:true)
java.sql.SQLException: Error while executing SQL "?": Error while compiling generated Java code:
public org.apache.calcite.linq4j.Enumerable bind(final org.apache.calcite.DataContext root) {
final org.apache.calcite.schema.TransientTable v1stashed = root.get("v1stashed", org.apache.calcite.schema.TransientTable.class);
final org.apache.calcite.rel.RelNode v2stashed = root.get("v2stashed", org.apache.calcite.rel.RelNode.class);
root.getRootSchema().add("#DELTA#", v1stashed);
final org.apache.calcite.linq4j.Enumerable _inputEnumerable = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable input = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
while (inputEnumerator.moveNext()) {
if (((org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current()).empid == 3) {
return true;
}
}
return false;
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.linq4j.Enumerable _inputEnumerable0 = org.apache.calcite.linq4j.Linq4j.asEnumerable(((org.apache.calcite.test.schemata.hr.HierarchySchema) ((org.apache.calcite.adapter.java.ReflectiveSchema) root.getRootSchema().getSubSchema("s").unwrap(org.apache.calcite.adapter.java.ReflectiveSchema.class)).getTarget()).emps);
final org.apache.calcite.linq4j.AbstractEnumerable left = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = _inputEnumerable0.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close() {
inputEnumerator.close();
}
public Object current() {
final org.apache.calcite.test.schemata.hr.Employee current = (org.apache.calcite.test.schemata.hr.Employee) inputEnumerator.current();
return new Object[] {
current.empid,
current.name};
}
};
}
};
final org.apache.calcite.interpreter.Interpreter interpreter = new org.apache.calcite.interpreter.Interpreter(
root,
v2stashed);
final org.apache.calcite.linq4j.AbstractEnumerable child = new org.apache.calcite.linq4j.AbstractEnumerable(){
public org.apache.calcite.linq4j.Enumerator enumerator() {
return new org.apache.calcite.linq4j.Enumerator(){
public final org.apache.calcite.linq4j.Enumerator inputEnumerator = interpreter.enumerator();
public void reset() {
inputEnumerator.reset();
}
public boolean moveNext() {
return inputEnumerator.moveNext();
}
public void close
|
CheckerFramework (JDK 11), Guava 29:
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)
|
CheckerFramework (JDK 11), Guava 29
Execution failed for task ':core:compileJava'.
> Compilation failed; see the compiler error output for details.
|
CheckerFramework (JDK 11):
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)
|
CheckerFramework (JDK 11)
Execution failed for task ':core:compileJava'.
> Compilation failed; see the compiler error output for details.
|
Linux (JDK 19)
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/
|
Linux (JDK 17)
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/
|
Linux (JDK 8), Oldest Guava, America/New_York Timezone
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/
|
Error Prone (JDK 11), Guava 31
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/
|
Linux (JDK 11), Pacific/Chatham Timezone
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/
|
Windows (JDK 17)
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/
|
Druid Tests
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/
|
Linux (JDK 11), Avatica main
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/
|
Linux (JDK 8), Latest Guava, America/New_York Timezone
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/
|
macOS (JDK 19)
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/
|
Windows (JDK 8)
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/
|
CheckerFramework (JDK 11), Guava 29
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/
|
CheckerFramework (JDK 11)
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/
|