Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-26573

ClassCastException error on window function

    XMLWordPrintableJSON

Details

    Description

      The following query from the tpcds dataset is throwing an exception:

      select
         SUM (i_current_price)
        OVER (ORDER BY i_item_sk) running_total
      from item
      limit 10

      with the error

      E   Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.Decimal64ColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector

      Attachments

        Issue Links

          Activity

            People

              scarlin Steve Carlin
              scarlin Steve Carlin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h