如何设置文件到期

时间:2016-10-20 17:35:15

标签: azure-data-lake u-sql

在Cosmos SCOPE脚本中,我们可以使用以下代码设置流/文件到期日期:

OUTPUT Catalog
TO SSTREAM @Output
WITH STREAMEXPIRY @ExpirationInDays;

U-SQL中的等效语法是什么?

1 个答案:

答案 0 :(得分:0)

Right now U-SQL does not provide this option (managing expirations is on our roadmap though). The store just recently introduced the ability to set expiration on files. Please file a feature request at http://aka.ms/adlfeedback and let us know if you prefer it as part of the language or as part of a more policy-based management solution.