File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
polaris-core/src/main/resources/schemas/policies/system/data-compaction Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "license" : " Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)" ,
3+ "$id" : " https://polaris.apache.org/schemas/policies/system/data-compaction/2025-02-03.json" ,
4+ "title" : " Data Compaction Policy" ,
5+ "description" : " Inheritable Polaris policy schema for Iceberg table data compaction." ,
6+ "type" : " object" ,
7+ "properties" : {
8+ "version" : {
9+ "type" : " string" ,
10+ "const" : " 2025-02-03" ,
11+ "description" : " Schema version."
12+ },
13+ "enable" : {
14+ "type" : " boolean" ,
15+ "description" : " Enable or disable data compaction."
16+ },
17+ "config" : {
18+ "type" : " object" ,
19+ "description" : " A map containing custom configuration properties. Please note that interoperability is not guaranteed." ,
20+ "additionalProperties" : {
21+ "type" : [" string" , " number" , " boolean" ]
22+ }
23+ }
24+ },
25+ "required" : [" enable" ],
26+ "additionalProperties" : false ,
27+ "examples" : [
28+ {
29+ "version" : " 2025-02-03" ,
30+ "enable" : true ,
31+ "config" : {
32+ "target_file_size_bytes" : 134217728 ,
33+ "compaction_strategy" : " bin-pack" ,
34+ "max-concurrent-file-group-rewrites" : 5 ,
35+ "my-key" : " my-value"
36+ }
37+ }
38+ ]
39+ }
You can’t perform that action at this time.
0 commit comments