You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/07/07 04:39:34 UTC

[jira] [Updated] (DRILL-1110) mod(decimal, decimal) caused SchemaChangeException - regression

     [ https://issues.apache.org/jira/browse/DRILL-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehant Baid updated DRILL-1110:
-------------------------------

    Attachment: DRILL-1110.patch

> mod(decimal, decimal) caused SchemaChangeException - regression
> ---------------------------------------------------------------
>
>                 Key: DRILL-1110
>                 URL: https://issues.apache.org/jira/browse/DRILL-1110
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Chun Chang
>            Assignee: Mehant Baid
>         Attachments: DRILL-1110.patch
>
>
> #Thu Jul 03 11:10:28 PDT 2014
> git.commit.id.abbrev=790a2ad
> The following query mod(decimal, decimal) worked before, so this is a regression.
> 0: jdbc:drill:schema=dfs> select mod(cast(c_decimal18 as decimal(18,0)), cast(c_decimal28 as decimal(28,0))) from data where c_row = 11;
> Query failed: org.apache.drill.exec.rpc.RpcException: [error_id: "7ed2a242-6b8b-4495-a186-123c7867774a"
> endpoint {
>   address: "qa-node117.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Screen received stop request sent. < SchemaChangeException:[ Failure while attempting to load generated class ] < ClassTransformationException:[ Failure generating transformation classes for value:
> package org.apache.drill.exec.test.generated;
> import io.netty.buffer.ByteBuf;
> import org.apache.drill.exec.exception.SchemaChangeException;
> import org.apache.drill.exec.expr.holders.BigIntHolder;
> import org.apache.drill.exec.expr.holders.BitHolder;
> import org.apache.drill.exec.expr.holders.NullableDecimal18Holder;
> import org.apache.drill.exec.expr.holders.NullableDecimal28SparseHolder;
> import org.apache.drill.exec.expr.holders.NullableVarBinaryHolder;
> import org.apache.drill.exec.ops.FragmentContext;
> import org.apache.drill.exec.record.RecordBatch;
> import org.apache.drill.exec.vector.NullableDecimal18Vector;
> import org.apache.drill.exec.vector.NullableVarBinaryVector;
> public class ProjectorGen3 {



--
This message was sent by Atlassian JIRA
(v6.2#6252)