You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sungwoo (Jira)" <ji...@apache.org> on 2022/10/02 09:37:00 UTC
[jira] [Commented] (HIVE-26573) ClassCastException error on window function
[ https://issues.apache.org/jira/browse/HIVE-26573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612051#comment-17612051 ]
Sungwoo commented on HIVE-26573:
--------------------------------
FYI, this query runs without a problem on Hive 3.1.3 (with some patches backported like HIVE-22094).
> 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: 0.5h
> 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)