EXPB-3014 Fix NUMERIC #184
Annotations
10 errors and 2 warnings
Run Druid tests:
DruidAdapter2IT.java#L3481
2.2sec 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$queryContains$10(CalciteAssert.java:1773)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.queryContains(CalciteAssert.java:1772)
at org.apache.calcite.test.DruidAdapter2IT.testAggOverStringToLong(DruidAdapter2IT.java:3481)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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:13212)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11429)
at app//org.codeha
|
Run Druid tests:
DruidAdapterIT.java#L4136
2.2sec 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$queryContains$10(CalciteAssert.java:1773)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.queryContains(CalciteAssert.java:1772)
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:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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:13212)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11429)
at app//org.codehaus.
|
Run Druid tests:
DruidAdapter2IT.java#L3010
0.6sec org.apache.calcite.test.DruidAdapter2IT > testExpressionsFilterWithExtract()
java.sql.SQLException: Error while executing SQL "SELECT COUNT(*) FROM "foodmart" where CAST((EXTRACT(MONTH FROM "timestamp") - 1 ) / 3 + 1 AS INTEGER) = 1": 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$queryContains$10(CalciteAssert.java:1773)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.queryContains(CalciteAssert.java:1772)
at org.apache.calcite.test.DruidAdapter2IT.testExpressionsFilterWithExtract(DruidAdapter2IT.java:3010)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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 long.class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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:13212)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.j
|
Run Druid tests:
DruidAdapter2IT.java#L2716
0.6sec org.apache.calcite.test.DruidAdapter2IT > testIsNotNull()
java.sql.SQLException: Error while executing SQL "select count(*) as c from "foodmart" where "product_id" is not null": 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$queryContains$10(CalciteAssert.java:1773)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.queryContains(CalciteAssert.java:1772)
at org.apache.calcite.test.DruidAdapter2IT.testIsNotNull(DruidAdapter2IT.java:2716)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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 long.class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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:13212)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java:11429)
at app//org.codehaus.janino.UnitCompiler.access$3900(U
|
Run Druid tests:
DruidAdapter2IT.java#L2346
0.2sec org.apache.calcite.test.DruidAdapter2IT > testOuterFilterFalseAfterFactorSimplification()
java.sql.SQLException: Error while executing SQL "select sum("store_sales") filter (where "the_year" > 1997) from "foodmart" where "the_year" <= 1997": 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.Double.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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$queryContains$10(CalciteAssert.java:1773)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.queryContains(CalciteAssert.java:1772)
at org.apache.calcite.test.DruidAdapter2IT.testOuterFilterFalseAfterFactorSimplification(DruidAdapter2IT.java:2346)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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.Double.class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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:13212)
at app//org.codehaus.janino.UnitC
|
Run Druid tests:
DruidAdapter2IT.java#L743
0.2sec org.apache.calcite.test.DruidAdapter2IT > testGroupByOneColumnReversed()
java.sql.SQLException: Error while executing SQL "select count(*) as c, "state_province"
from "foodmart"
group by "state_province"
order by "state_province"": 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1515)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1513)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1503)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1529)
at org.apache.calcite.test.DruidAdapter2IT.testGroupByOneColumnReversed(DruidAdapter2IT.java:743)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=2
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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.UnitCompiler.compileError(UnitCompiler.ja
|
Run 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1515)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1513)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1503)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1529)
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:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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 "
|
Run 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1515)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1513)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1503)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsOrdered(CalciteAssert.java:1529)
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:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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
|
Run Druid tests:
DruidAdapter2IT.java#L1115
0.5sec org.apache.calcite.test.DruidAdapter2IT > testFilterTimestamp()
java.sql.SQLException: Error while executing SQL "select count(*) as c
from "foodmart"
where extract(year from "timestamp") = 1997
and extract(month from "timestamp") in (4, 6)
": 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$returns$1(CalciteAssert.java:1515)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1513)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1503)
at org.apache.calcite.test.CalciteAssert$AssertQuery.returnsUnordered(CalciteAssert.java:1525)
at org.apache.calcite.test.DruidAdapter2IT.testFilterTimestamp(DruidAdapter2IT.java:1115)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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"
|
Run Druid tests:
DruidAdapter2IT.java#L3113
0.3sec org.apache.calcite.test.DruidAdapter2IT > testCastPlusMathOps()
java.sql.SQLException: Error while executing SQL "SELECT COUNT(*) FROM "foodmart"WHERE (CAST("product_id" AS INTEGER) + 1 * "store_sales")/("store_cost" - 5) <= floor("store_sales") * 25 + 2": 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:567)
at org.apache.calcite.test.CalciteAssert$AssertQuery.lambda$queryContains$10(CalciteAssert.java:1773)
at org.apache.calcite.test.CalciteAssert$AssertQuery.withConnection(CalciteAssert.java:1454)
at org.apache.calcite.test.CalciteAssert$AssertQuery.queryContains(CalciteAssert.java:1772)
at org.apache.calcite.test.DruidAdapter2IT.testCastPlusMathOps(DruidAdapter2IT.java:3113)
Suppressed: org.apache.calcite.util.TestUtil$ExtraInformation: With materializationsEnabled=false, limit=-1
at app//org.apache.calcite.util.TestUtil.rethrow(TestUtil.java:401)
at app//org.apache.calcite.test.CalciteAssert.assertQuery(CalciteAssert.java:599)
... 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 long.class;
}
at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
at org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:129)
at org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1190)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:326)
at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:220)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:673)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:524)
at org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:492)
at org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:237)
at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:654)
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:13212)
at app//org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCo
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v2, actions/checkout@v3, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading