[ https://issues.apache.org/jira/browse/DRILL-851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Nadeau updated DRILL-851: --------------------------------- Issue Type: Improvement (was: Bug) > bigint * time type not supported > -------------------------------- > > Key: DRILL-851 > URL: https://issues.apache.org/jira/browse/DRILL-851 > Project: Apache Drill > Issue Type: Improvement > Components: SQL Parser > Reporter: Chun Chang > Fix For: Future > > > #Wed May 28 10:41:14 PDT 2014 > git.commit.id.abbrev=01bf849 > The multiplication between a bigint and time type fails the parser: > 0: jdbc:drill:schema=dfs> select c_bigint * cast(c_time as time) from data; > Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while > running query.[error_id: "dca54fae-9287-4ebb-8208-14dd3a244541" > endpoint { > address: "qa-node119.qa.lab" > user_port: 31010 > control_port: 31011 > data_port: 31012 > } > error_type: 0 > message: "Failure while parsing sql. < ValidationException:[ > org.eigenbase.util.EigenbaseContextException: From line 1, column 8 to line > 1, column 38 ] < EigenbaseContextException:[ From line 1, column 8 to line 1, > column 38 ] < SqlValidatorException:[ Cannot apply '*' to arguments of type > '<ANY> * <TIME(0)>'. Supported form(s): '<NUMERIC> * <NUMERIC>' > '<DATETIME_INTERVAL> * <NUMERIC>' > '<NUMERIC> * <DATETIME_INTERVAL>' ]" > ] > Error: exception while executing query (state=,code=0) -- This message was sent by Atlassian JIRA (v6.3.4#6332)