Aggarwal-Raghav commented on code in PR #6579:
URL: https://github.com/apache/hive/pull/6579#discussion_r3537795579
##########
ql/src/test/queries/clientpositive/vectorized_ptf_decimal_col_cast_exception.q:
##########
@@ -0,0 +1,17 @@
+set hive.cli.print.header=true;
+set hive.vectorized.execution.enabled=true;
+set hive.vectorized.execution.reduce.enabled=true;
+set hive.vectorized.execution.ptf.enabled=true;
+
+CREATE TABLE repro_ptf_decimal (
+ id STRING,
+ total DECIMAL(20,2)
+) STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB');
+
+INSERT INTO repro_ptf_decimal VALUES ('req1', 5.0), ('req1', 10.0), ('req2',
10.0);
+
+SELECT
+ id,
+ total,
+ SUM(total + total + total) OVER (ORDER BY total DESC, id ASC) AS total_sum
Review Comment:
make sense. Let me update it and add `explain vectorization detail` as well
in q file.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]