java.lang.AssertionError

typeName.allowsPrecScale(true, false)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Khurram Faraaz,
  • Stack trace

    • java.lang.AssertionError: typeName.allowsPrecScale(true, false) at org.eigenbase.sql.type.BasicSqlType.<init>(BasicSqlType.java:66) at org.eigenbase.sql.type.SqlTypeFactoryImpl.createSqlType(SqlTypeFactoryImpl.java:59) at org.eigenbase.sql.type.SqlTypeTransforms$4.transformType(SqlTypeTransforms.java:106) at org.eigenbase.sql.type.SqlTypeTransformCascade.inferReturnType(SqlTypeTransformCascade.java:62) at org.eigenbase.sql.SqlOperator.inferReturnType(SqlOperator.java:451) at org.eigenbase.sql.SqlOperator.validateOperands(SqlOperator.java:418) at org.eigenbase.sql.SqlFunction.deriveType(SqlFunction.java:290) at org.eigenbase.sql.SqlFunction.deriveType(SqlFunction.java:206) at org.eigenbase.sql.validate.SqlValidatorImpl$DeriveTypeVisitor.visit(SqlValidatorImpl.java:3870) at org.eigenbase.sql.validate.SqlValidatorImpl$DeriveTypeVisitor.visit(SqlValidatorImpl.java:3857) at org.eigenbase.sql.SqlCall.accept(SqlCall.java:133) at org.eigenbase.sql.validate.SqlValidatorImpl.deriveTypeImpl(SqlValidatorImpl.java:1322) at org.eigenbase.sql.validate.SqlValidatorImpl.deriveType(SqlValidatorImpl.java:1305) at org.eigenbase.sql.type.InferTypes$1.inferOperandTypes(InferTypes.java:52) at org.eigenbase.sql.validate.SqlValidatorImpl.inferUnknownTypes(SqlValidatorImpl.java:1497) at org.eigenbase.sql.validate.SqlValidatorImpl.inferUnknownTypes(SqlValidatorImpl.java:1503) at org.eigenbase.sql.validate.SqlValidatorImpl.inferUnknownTypes(SqlValidatorImpl.java:1503) at org.eigenbase.sql.validate.SqlValidatorImpl.validateWhereOrOn(SqlValidatorImpl.java:2961) at org.eigenbase.sql.validate.SqlValidatorImpl.validateWhereClause(SqlValidatorImpl.java:2953) at org.eigenbase.sql.validate.SqlValidatorImpl.validateSelect(SqlValidatorImpl.java:2764) at org.eigenbase.sql.validate.SelectNamespace.validateImpl(SelectNamespace.java:60) at org.eigenbase.sql.validate.AbstractNamespace.validate(AbstractNamespace.java:80) at org.eigenbase.sql.validate.SqlValidatorImpl.validateNamespace(SqlValidatorImpl.java:747) at org.eigenbase.sql.validate.AbstractNamespace.getRowType(AbstractNamespace.java:117) at org.eigenbase.sql.validate.SelectNamespace.getRowType(SelectNamespace.java:30) at org.eigenbase.sql.validate.ListScope.findQualifyingTableName(ListScope.java:99) at org.eigenbase.sql.validate.DelegatingScope.fullyQualify(DelegatingScope.java:144) at org.eigenbase.sql.validate.SqlValidatorUtil$DeepCopier.visit(SqlValidatorUtil.java:367) at org.eigenbase.sql.validate.SqlValidatorUtil$DeepCopier.visit(SqlValidatorUtil.java:340) at org.eigenbase.sql.SqlIdentifier.accept(SqlIdentifier.java:222) at org.eigenbase.sql.validate.SqlValidatorUtil$DeepCopier.visit(SqlValidatorUtil.java:348) at org.eigenbase.sql.validate.SqlValidatorUtil$DeepCopier.visit(SqlValidatorUtil.java:340) at org.eigenbase.sql.SqlNodeList.accept(SqlNodeList.java:149) at org.eigenbase.sql.validate.AggregatingSelectScope.<init>(AggregatingSelectScope.java:65) at org.eigenbase.sql.validate.SqlValidatorImpl.registerQuery(SqlValidatorImpl.java:1998) at org.eigenbase.sql.validate.SqlValidatorImpl.registerQuery(SqlValidatorImpl.java:1921) at org.eigenbase.sql.validate.SqlValidatorImpl.validateScopedExpression(SqlValidatorImpl.java:708) at org.eigenbase.sql.validate.SqlValidatorImpl.validate(SqlValidatorImpl.java:426) at net.hydromatic.optiq.prepare.PlannerImpl.validate(PlannerImpl.java:170) at org.apache.drill.exec.planner.sql.DrillSqlWorker.getLogicalRel(DrillSqlWorker.java:126) at org.apache.drill.exec.planner.sql.DrillSqlWorker.getPhysicalPlan(DrillSqlWorker.java:216) at org.apache.drill.BaseTestQuery.testSqlPlan(BaseTestQuery.java:148) at org.apache.drill.BaseTestQuery.testSqlPlanFromFile(BaseTestQuery.java:107) at org.apache.drill.TestTpchPlanning.tpch22(TestTpchPlanning.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:606) at java.lang.reflect.Method.invoke(Method.java:606)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.