yangzhg commented on code in PR #9997:
URL: https://github.com/apache/incubator-doris/pull/9997#discussion_r894104592
##########
docs/en/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-POLICY.md:
##########
@@ -49,6 +52,21 @@ illustrate:
- It is connected with AND between RESTRICTIVE AND PERMISSIVE
- It cannot be created for users root and admin
+2. STORAGE POLICY
+```sql
+CREATE STORAGE POLICY test_storage_policy_1
+PROPERTIES ("key"="value", ...);
+```
+illustrate:
+- PROPERTIES has such keys:
+ 1. storage_resource:storage resource name for policy
+ 2. cooldown_datetime:cool down time for tablet, can't be set with
cooldown_ttl.
+ 3. cooldown_ttl:hot data stay time. The time cost between the time of
tablet created and
+ the time of migrated to cold data, formatted as:
+ 1d:1天
+ 1h:1小时
Review Comment:
to En
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]