drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Supyk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4406) extract () Error: SYSTEM ERROR: ClassCastException. Caused By (java.lang.ClassCastException)
Date Mon, 29 Feb 2016 10:22:18 GMT

    [ https://issues.apache.org/jira/browse/DRILL-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171706#comment-15171706
] 

Taras Supyk commented on DRILL-4406:
------------------------------------

Confirmed, select extract(hour from cts) from public.tts; causes ClassCastException: org.apache.calcite.avatica.util.TimeUnitRange
cannot be cast to org.apache.calcite.sql.SqlLiteral$SqlSymbol

> extract () Error: SYSTEM ERROR: ClassCastException. Caused By (java.lang.ClassCastException)

> ---------------------------------------------------------------------------------------------
>
>                 Key: DRILL-4406
>                 URL: https://issues.apache.org/jira/browse/DRILL-4406
>             Project: Apache Drill
>          Issue Type: Bug
>          Components:  Server
>    Affects Versions: 1.5.0
>            Reporter: N Campbell
>            Assignee: Taras Supyk
>             Fix For: 1.5.0
>
>
> Trying to extract( ) from a Postgres timestamp column fails
> create table TTS ( RNUM integer  not null , CTS timestamp(3 ) ) ;
> Error: SYSTEM ERROR: ClassCastException
> [Error Id: 4a6a1f6e-1caa-42c4-b44c-8db621477776 on centos1:31010]
>   (org.apache.drill.exec.work.foreman.ForemanException) Unexpected exception during fragment
initialization: null
>     org.apache.drill.exec.work.foreman.Foreman.run():261
>     java.util.concurrent.ThreadPoolExecutor.runWorker():1142
>     java.util.concurrent.ThreadPoolExecutor$Worker.run():617
>     java.lang.Thread.run():745
>   Caused By (java.lang.ClassCastException) null
> SQLState:  null
> ErrorCode: 0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message