Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9132 CBO: Calcite Operator To Hive Operator (Calcite Return Path)
  3. HIVE-13005

CBO: Calcite Operator To Hive Operator (Calcite Return Path): RexNode convert(ExprNodeConstantDesc literal) decimal support bug

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • CBO
    • None

    Description

      HIVE-8064 seems to have introduced this code in RexNodeConverter::convert(), but the parameters look like they are wrongly passed :

              RelDataType relType = cluster.getTypeFactory().createSqlType(SqlTypeName.DECIMAL,
                  bd.scale(), unscaled.toString().length());
      

      Attachments

        1. HIVE-13005.1.patch
          0.9 kB
          Hari Sankar Sivarama Subramaniyan

        Activity

          People

            hsubramaniyan Hari Sankar Sivarama Subramaniyan
            hsubramaniyan Hari Sankar Sivarama Subramaniyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: