Steve Carlin created HIVE-26573:
-----------------------------------

             Summary: ClassCastException error on window function
                 Key: HIVE-26573
                 URL: https://issues.apache.org/jira/browse/HIVE-26573
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2
            Reporter: Steve Carlin


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to