[ https://issues.apache.org/jira/browse/HIVE-26573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618357#comment-17618357 ]
Sungwoo commented on HIVE-26573: -------------------------------- How did you create your TPC-DS dataset? I tested with the commit of Oct 11 in the master branch, and the query is compiled successfully and returns the result. > 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 > Priority: Major > Labels: pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > 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)