[ https://issues.apache.org/jira/browse/HIVE-25325?focusedWorklogId=622928&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-622928 ]
ASF GitHub Bot logged work on HIVE-25325: ----------------------------------------- Author: ASF GitHub Bot Created on: 15/Jul/21 09:14 Start Date: 15/Jul/21 09:14 Worklog Time Spent: 10m Work Description: pvary commented on a change in pull request #2471: URL: https://github.com/apache/hive/pull/2471#discussion_r670284586 ########## File path: iceberg/iceberg-handler/src/test/queries/positive/truncate_force_iceberg_table.q ########## @@ -0,0 +1,20 @@ +set hive.vectorized.execution.enabled=false; + +drop table if exists test_truncate; +create external table test_truncate (id int, value string) stored by iceberg stored as parquet; +alter table test_truncate set tblproperties('external.table.purge'='false'); +insert into test_truncate values (1, 'one'),(2,'two'),(3,'three'),(4,'four'),(5,'five'); +insert into test_truncate values (6, 'six'), (7, 'seven'); +insert into test_truncate values (8, 'eight'), (9, 'nine'), (10, 'ten'); +analyze table test_truncate compute statistics; + +select * from test_truncate order by id; Review comment: Question: I remember that once upon a time we replaced all of the `order by` statements in the queries to some QTestUtil construct to save on the execution time of the queries. Do I remember correctly? Would it be relevant here? If so, I could try to remember what was needed in the `.q` file to short the output. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 622928) Time Spent: 0.5h (was: 20m) > Add TRUNCATE TABLE support for Hive Iceberg tables > -------------------------------------------------- > > Key: HIVE-25325 > URL: https://issues.apache.org/jira/browse/HIVE-25325 > Project: Hive > Issue Type: Improvement > Reporter: Marta Kuczora > Assignee: Marta Kuczora > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Implement the TRUNCATE operation for Hive Iceberg tables. Since these tables > are unpartitioned in Hive, only the truncate unpartitioned table use case has > to be supported. -- This message was sent by Atlassian Jira (v8.3.4#803005)