You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Victoria Markman (JIRA)" <ji...@apache.org> on 2015/10/09 00:43:26 UTC
[jira] [Comment Edited] (DRILL-2859) Unexpected exception in the
query with an interval data type
[ https://issues.apache.org/jira/browse/DRILL-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949550#comment-14949550 ]
Victoria Markman edited comment on DRILL-2859 at 10/8/15 10:43 PM:
-------------------------------------------------------------------
As of 1.2.0:
{code}
0: jdbc:drill:schema=dfs> select cast(cast(a1 as int) as interval day) from `t1.csv` where a1 = 1;
Error: SYSTEM ERROR: AssertionError: todo: implement syntax SPECIAL(Reinterpret(*(Reinterpret(CAST(CAST($0):INTEGER):DECIMAL(2, 0)), 86400000)))
[Error Id: 538e6136-8ef1-4a4b-ba29-3756617af561 on atsqa4-133.qa.lab:31010] (state=,code=0)
{code}
was (Author: vicky):
{code}
0: jdbc:drill:schema=dfs> select cast(cast(a1 as int) as interval day) from `t1.csv` where a1 = 1;
Error: SYSTEM ERROR: AssertionError: todo: implement syntax SPECIAL(Reinterpret(*(Reinterpret(CAST(CAST($0):INTEGER):DECIMAL(2, 0)), 86400000)))
[Error Id: 538e6136-8ef1-4a4b-ba29-3756617af561 on atsqa4-133.qa.lab:31010] (state=,code=0)
{code}
> Unexpected exception in the query with an interval data type
> ------------------------------------------------------------
>
> Key: DRILL-2859
> URL: https://issues.apache.org/jira/browse/DRILL-2859
> Project: Apache Drill
> Issue Type: Bug
> Components: Query Planning & Optimization
> Affects Versions: 0.9.0
> Reporter: Victoria Markman
> Fix For: Future
>
>
> {code}
> 0: jdbc:drill:schema=dfs> select cast(cast(a1 as int) as interval day) from t1 where a1 = 1;
> Query failed: SYSTEM ERROR: Unexpected exception during fragment initialization: todo: implement syntax SPECIAL(Reinterpret(*(Reinterpret(CAST(CAST($0):INTEGER):DECIMAL(2, 0)), 86400000)))
> [5119315b-dd73-432f-ab93-49e76e9165f6 on atsqa4-134.qa.lab:31010]
> (org.apache.drill.exec.work.foreman.ForemanException) Unexpected exception during fragment initialization: todo: implement syntax SPECIAL(Reinterpret(*(Reinterpret(CAST(CAST($0):INTEGER):DECIMAL(2, 0)), 86400000)))
> org.apache.drill.exec.work.foreman.Foreman.run():212
> java.util.concurrent.ThreadPoolExecutor.runWorker():1145
> java.util.concurrent.ThreadPoolExecutor$Worker.run():615
> java.lang.Thread.run():745
> Caused By (java.lang.AssertionError) todo: implement syntax SPECIAL(Reinterpret(*(Reinterpret(CAST(CAST($0):INTEGER):DECIMAL(2, 0)), 86400000)))
> org.apache.drill.exec.planner.logical.DrillOptiq$RexToDrill.visitCall():182
> org.apache.drill.exec.planner.logical.DrillOptiq$RexToDrill.visitCall():73
> org.apache.calcite.rex.RexCall.accept():107
> org.apache.drill.exec.planner.logical.DrillOptiq.toDrill():70
> org.apache.drill.exec.planner.common.DrillProjectRelBase.getProjectExpressions():111
> org.apache.drill.exec.planner.physical.ProjectPrel.getPhysicalOperator():57
> org.apache.drill.exec.planner.physical.ScreenPrel.getPhysicalOperator():51
> org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.convertToPop():376
> org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.getPlan():157
> org.apache.drill.exec.planner.sql.DrillSqlWorker.getPlan():167
> org.apache.drill.exec.work.foreman.Foreman.runSQL():773
> org.apache.drill.exec.work.foreman.Foreman.run():203
> java.util.concurrent.ThreadPoolExecutor.runWorker():1145
> java.util.concurrent.ThreadPoolExecutor$Worker.run():615
> java.lang.Thread.run():745
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)