Commit 6b61406 1 parent 0ca3024 commit 6b61406 Copy full SHA for 6b61406
File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -371,6 +371,11 @@ class RemovePartitionStatisticsUpdate(BaseUpdate):
371
371
snapshot_id : int = Field (..., alias = 'snapshot-id' )
372
372
373
373
374
+ class RemovePartitionSpecsUpdate (BaseUpdate ):
375
+ action : Optional [Literal ['remove-partition-specs' ]] = None
376
+ spec_ids : List [int ] = Field (..., alias = 'spec-ids' )
377
+
378
+
374
379
class AssertCreate (BaseModel ):
375
380
"""
376
381
The table must not already exist; used for create transactions
@@ -1081,6 +1086,7 @@ class TableUpdate(BaseModel):
1081
1086
RemovePropertiesUpdate ,
1082
1087
SetStatisticsUpdate ,
1083
1088
RemoveStatisticsUpdate ,
1089
+ RemovePartitionSpecsUpdate ,
1084
1090
]
1085
1091
1086
1092
Original file line number Diff line number Diff line change @@ -2320,6 +2320,7 @@ components:
2320
2320
remove-statistics : ' #/components/schemas/RemoveStatisticsUpdate'
2321
2321
set-partition-statistics : ' #/components/schemas/SetPartitionStatisticsUpdate'
2322
2322
remove-partition-statistics : ' #/components/schemas/RemovePartitionStatisticsUpdate'
2323
+ remove-partition-specs : ' #/components/schemas/RemovePartitionSpecsUpdate'
2323
2324
type : object
2324
2325
required :
2325
2326
- action
@@ -2622,6 +2623,20 @@ components:
2622
2623
type : integer
2623
2624
format : int64
2624
2625
2626
+ RemovePartitionSpecsUpdate :
2627
+ allOf :
2628
+ - $ref : ' #/components/schemas/BaseUpdate'
2629
+ required :
2630
+ - spec-ids
2631
+ properties :
2632
+ action :
2633
+ type : string
2634
+ enum : [ "remove-partition-specs" ]
2635
+ spec-ids :
2636
+ type : array
2637
+ items :
2638
+ type : integer
2639
+
2625
2640
TableUpdate :
2626
2641
anyOf :
2627
2642
- $ref : ' #/components/schemas/AssignUUIDUpdate'
@@ -2641,6 +2656,7 @@ components:
2641
2656
- $ref : ' #/components/schemas/RemovePropertiesUpdate'
2642
2657
- $ref : ' #/components/schemas/SetStatisticsUpdate'
2643
2658
- $ref : ' #/components/schemas/RemoveStatisticsUpdate'
2659
+ - $ref : ' #/components/schemas/RemovePartitionSpecsUpdate'
2644
2660
2645
2661
ViewUpdate :
2646
2662
anyOf :
You can’t perform that action at this time.
0 commit comments