Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1110

mod(decimal, decimal) caused SchemaChangeException - regression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Functions - Drill
    • None

    Description

      #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 {

      Attachments

        1. DRILL-1110.patch
          11 kB
          Mehant Baid

        Activity

          People

            DrillCommitter DrillCommitter
            cchang@maprtech.com Chun Chang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: