smileyboy2019 commented on issue #10372:
URL: https://github.com/apache/iceberg/issues/10372#issuecomment-2136665243

   是支持生命周期的TTL,同时设置归档目录,到期的数据自动归档历史数据路径里面
   
   //TTL时间设置,超过7天数据自动删除
   CREATE TABLE my_table (   id INT,   name STRING ) PARTITIONED BY (dt STRING, 
city STRING) TBLPROPERTIES ("hive.table.parameters.ttl" = "7 days");
   //对这张表超过7天数据进行归档,自动存放到对应目录
   set hive.archive.enabled=true; hive> set 
hive.archive.har.parentdir.settable=true; hive> set 
har.partfile.size=1099511627776;
   
   
    
   
   
   志阳
   ***@***.***
   
   
   
    
   
   
   
   
   ------------------ 原始邮件 ------------------
   发件人: "PLASH ***@***.***>; 
   发送时间: 2024年5月27日(星期一) 下午5:30
   收件人: ***@***.***>; 
   抄送: ***@***.***>; ***@***.***>; 
   主题: Re: [apache/iceberg] iceberg TTL set (Issue #10372)
   
   
   
   
   
   
   
   
   
   
   
   
   
   
    
   你是指iceberg可以支持将数据写入到多级存储的不同路径中么?
    
   —
   Reply to this email directly, view it on GitHub, or unsubscribe.
   You are receiving this because you authored the thread.Message ID: 
***@***.***>


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to