Re: [I] Can iceberg support truncating table? [iceberg]

2024-01-09 Thread via GitHub
coolderli commented on issue #9387: URL: https://github.com/apache/iceberg/issues/9387#issuecomment-1884261683 I found that `truncate table ` is already supported after spark 3.3. `truncate table` twice can resolve my problem. -- This is an automated message from the Apache Git Service.

Re: [I] Can iceberg support truncating table? [iceberg]

2024-01-09 Thread via GitHub
coolderli closed issue #9387: Can iceberg support truncating table? URL: https://github.com/apache/iceberg/issues/9387 -- 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

Re: [I] Can iceberg support truncating table? [iceberg]

2024-01-03 Thread via GitHub
jhchee commented on issue #9387: URL: https://github.com/apache/iceberg/issues/9387#issuecomment-1875290566 You could remove table entry from your catalog and create new table within the same directory. This should preserve all your files. -- This is an automated message from the Apache

Re: [I] Can iceberg support truncating table? [iceberg]

2023-12-27 Thread via GitHub
coolderli commented on issue #9387: URL: https://github.com/apache/iceberg/issues/9387#issuecomment-1870798132 By the way, I don't want to drop the table. Because this table is just for testing, I can reuse it later without recreating it. -- This is an automated message from the Apache

[I] Can iceberg support truncating table? [iceberg]

2023-12-27 Thread via GitHub
coolderli opened a new issue, #9387: URL: https://github.com/apache/iceberg/issues/9387 ### Query engine truncate table ### Question Can iceberg support truncating a table? I have some users who want to clear all data in the iceberg table. If I use `delete from` to drop