[ https://issues.apache.org/jira/browse/HIVE-26269?focusedWorklogId=779156&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-779156 ]
ASF GitHub Bot logged work on HIVE-26269: ----------------------------------------- Author: ASF GitHub Bot Created on: 07/Jun/22 15:40 Start Date: 07/Jun/22 15:40 Worklog Time Spent: 10m Work Description: abstractdog commented on code in PR #3329: URL: https://github.com/apache/hive/pull/3329#discussion_r891394995 ########## ql/src/test/queries/clientpositive/vector_case_when_3.q: ########## @@ -0,0 +1,7 @@ +set hive.explain.user=false; +set hive.fetch.task.conversion=none; +set hive.vectorized.execution.enabled=true; +create external table test_decimal(rattag string, newclt_all decimal(15,2)) stored as orc; +insert into test_decimal values('a', '10.20'); +select sum(case when rattag='a' then newclt_all*0.3 else newclt_all end) from test_decimal; +select sum(case when rattag='Y' then newclt_all*0.3 else newclt_all end) from test_decimal; Review Comment: please include EXPLAIN VECTORIZATION DETAIL for the same query Issue Time Tracking ------------------- Worklog Id: (was: 779156) Time Spent: 0.5h (was: 20m) > Class cast exception when vectorization is enabled for certain case when cases > ------------------------------------------------------------------------------ > > Key: HIVE-26269 > URL: https://issues.apache.org/jira/browse/HIVE-26269 > Project: Hive > Issue Type: Bug > Reporter: Ramesh Kumar Thangarajan > Assignee: Ramesh Kumar Thangarajan > Priority: Major > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > Class cast exception when vectorization is enabled for certain case when cases -- This message was sent by Atlassian Jira (v8.20.7#820007)