[
https://issues.apache.org/jira/browse/HIVE-26573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612112#comment-17612112
]
Steve Carlin commented on HIVE-26573:
-------------------------------------
Oh, interesting! I wonder why it wasn't put into master though?
Anyway, I still think my pull request is worth pushing. The
DataPhysicalVariationMode is extraneous in determining whether its Decimal64 or
Decimal since it is already determined by the created Vector object. There is
also an extra serialization done in the "Read" which I removed.
> 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)