drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinfeng Ni (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3156) Calcite tracing is broken in Drill
Date Wed, 20 May 2015 19:12:00 GMT
Jinfeng Ni created DRILL-3156:

             Summary: Calcite tracing is broken in Drill 
                 Key: DRILL-3156
                 URL: https://issues.apache.org/jira/browse/DRILL-3156
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning & Optimization
            Reporter: Jinfeng Ni
            Assignee: Jinfeng Ni

Apache Calcite's tracing functionality plays an important role when we debug issues related
to either logical planning  or physical planning in Drill.  

However, since Drill-705 introduced a HepPlanner to do query planning for Window Function,
the tracing functionality is broken.

For instance, if I turn on Calcite tracing and set the tracing level to "FINER", as following:

org.apache.calcite.plan.RelOptPlanner.level = FINER

When submit a query to Drill, Drill hit AssertionError.

SYSTEM ERROR: java.lang.AssertionError: Internal error: should never get here

[Error Id: 3410c3b4-726f-487b-a1c4-287b6ae724aa on]

The root cause of this Assertion is here :
Caused by: java.lang.AssertionError: Internal error: should never get here
  at org.apache.calcite.util.Util.newInternal(Util.java:775) ~[calcite-core-1.1.0-drill-r7.jar:1.1.0-drill-r7]
  at org.apache.calcite.plan.hep.HepRelVertex.computeSelfCost(HepRelVertex.java:68) ~[calcite-core-1.1.0-drill-r7.jar:1.1.0-drill-r7]
  at org.apache.calcite.rel.metadata.RelMdPercentageOriginalRows.getNonCumulativeCost(RelMdPercentageOriginalRows.java:165)

This message was sent by Atlassian JIRA

View raw message