You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/02/01 17:04:01 UTC

[jira] [Commented] (IMPALA-10456) Implement TRUNCATE for Iceberg tables

    [ https://issues.apache.org/jira/browse/IMPALA-10456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276472#comment-17276472 ] 

ASF subversion and git services commented on IMPALA-10456:
----------------------------------------------------------

Commit 646b0e011c1af93901667de987c350f60f34e62d in impala's branch refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=646b0e0 ]

IMPALA-10456: Implement TRUNCATE for Iceberg tables

This patch adds support for the TRUNCATE statement for
Iceberg tables.

The TRUNCATE operation creates a new snapshot for the target
table that doesn't have any data files. Table and column stats
are also cleared. This patch also fixes a bug that caused
table/column stats not being propagated.

Testing
 * added e2e tests for both partitioned and unpartitioned tables

Change-Id: I6116c7c36aba871c0be79f499e0ac618072ca7b8
Reviewed-on: http://gerrit.cloudera.org:8080/16987
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: wangsheng <sk...@163.com>


> Implement TRUNCATE for Iceberg tables
> -------------------------------------
>
>                 Key: IMPALA-10456
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10456
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Frontend
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: impala-iceberg
>
> Implement TRUNCATE for Iceberg tables.
> The TRUNCATE operation should create a new snapshot for the target table that doesn't have any data files.
> It should work for both partitioned and unpartitioned tables.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org