tanishq-chugh commented on code in PR #6158:
URL: https://github.com/apache/hive/pull/6158#discussion_r2478214056
##########
ql/src/test/queries/clientpositive/llap_io_cache.q:
##########
@@ -0,0 +1,24 @@
+set hive.llap.io.enabled=true;
+set hive.llap.io.memory.mode=cache;
+set hive.llap.io.allocator.alloc.max=16Mb;
+set hive.vectorized.execution.enabled=true;
+
+CREATE TABLE tbl_parq (
+ id INT,
+ payload STRING
+)
+STORED AS PARQUET
+TBLPROPERTIES (
+ 'parquet.block.size'='16777216',
+ 'parquet.page.size'='16777216',
+ 'parquet.compression'='UNCOMPRESSED'
+);
+
+INSERT OVERWRITE TABLE tbl_parq
+SELECT
+ 1 AS id,
+ RPAD('x', 16777177, 'x') AS payload;
+
+SELECT LENGTH(payload) FROM tbl_parq;
+
+SELECT SUM(LENGTH(payload)) FROM tbl_parq;
Review Comment:
Yes. Thanks for pointing this out. Added `drop if exists before create` in
[a27005d](https://github.com/apache/hive/pull/6158/commits/a27005d63edbdaf52d6cd12e46254e523c054daa)
--
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]