You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Steve Carlin (Jira)" <ji...@apache.org> on 2022/09/28 17:24:00 UTC

[jira] [Created] (HIVE-26573) ClassCastException error on window function

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)