Commit 46ef535 1 parent 4a0ae22 commit 46ef535 Copy full SHA for 46ef535
File tree 2 files changed +23
-0
lines changed
2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -360,6 +360,11 @@ class RemovePartitionStatisticsUpdate(BaseUpdate):
360
360
snapshot_id : int = Field (..., alias = 'snapshot-id' )
361
361
362
362
363
+ class RemovePartitionSpecsUpdate (BaseUpdate ):
364
+ action : Optional [Literal ['remove-partition-specs' ]] = None
365
+ spec_ids : List [int ] = Field (..., alias = 'spec-ids' )
366
+
367
+
363
368
class AssertCreate (BaseModel ):
364
369
"""
365
370
The table must not already exist; used for create transactions
@@ -1070,6 +1075,7 @@ class TableUpdate(BaseModel):
1070
1075
RemovePropertiesUpdate ,
1071
1076
SetStatisticsUpdate ,
1072
1077
RemoveStatisticsUpdate ,
1078
+ RemovePartitionSpecsUpdate ,
1073
1079
]
1074
1080
1075
1081
Original file line number Diff line number Diff line change @@ -2265,6 +2265,7 @@ components:
2265
2265
remove-statistics : ' #/components/schemas/RemoveStatisticsUpdate'
2266
2266
set-partition-statistics : ' #/components/schemas/SetPartitionStatisticsUpdate'
2267
2267
remove-partition-statistics : ' #/components/schemas/RemovePartitionStatisticsUpdate'
2268
+ remove-partition-specs : ' #/components/schemas/RemovePartitionSpecsUpdate'
2268
2269
type : object
2269
2270
required :
2270
2271
- action
@@ -2567,6 +2568,21 @@ components:
2567
2568
type : integer
2568
2569
format : int64
2569
2570
2571
+ RemovePartitionSpecsUpdate :
2572
+ allOf :
2573
+ - $ref : ' #/components/schemas/BaseUpdate'
2574
+ required :
2575
+ - spec-ids
2576
+ properties :
2577
+ action :
2578
+ type : string
2579
+ enum : [ "remove-partition-specs" ]
2580
+ spec-ids :
2581
+ type : array
2582
+ items :
2583
+ type : integer
2584
+ format : int64
2585
+
2570
2586
TableUpdate :
2571
2587
anyOf :
2572
2588
- $ref : ' #/components/schemas/AssignUUIDUpdate'
@@ -2586,6 +2602,7 @@ components:
2586
2602
- $ref : ' #/components/schemas/RemovePropertiesUpdate'
2587
2603
- $ref : ' #/components/schemas/SetStatisticsUpdate'
2588
2604
- $ref : ' #/components/schemas/RemoveStatisticsUpdate'
2605
+ - $ref : ' #/components/schemas/RemovePartitionSpecsUpdate'
2589
2606
2590
2607
ViewUpdate :
2591
2608
anyOf :
You can’t perform that action at this time.
0 commit comments