[ 
https://issues.apache.org/jira/browse/HIVE-26269?focusedWorklogId=780970&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-780970
 ]

ASF GitHub Bot logged work on HIVE-26269:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Jun/22 02:47
            Start Date: 14/Jun/22 02:47
    Worklog Time Spent: 10m 
      Work Description: ramesh0201 commented on code in PR #3329:
URL: https://github.com/apache/hive/pull/3329#discussion_r896323787


##########
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:
   Yes that will be useful to see what is happening. I added.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 780970)
    Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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)

Reply via email to