Skip to content

Add table maintenance API req/rsp structs based on S3 Tables APIs#533

Open
dhananjaykrutika wants to merge 2 commits intominio:mainfrom
dhananjaykrutika:table-maintenance-job-structs
Open

Add table maintenance API req/rsp structs based on S3 Tables APIs#533
dhananjaykrutika wants to merge 2 commits intominio:mainfrom
dhananjaykrutika:table-maintenance-job-structs

Conversation

@dhananjaykrutika dhananjaykrutika self-assigned this Feb 6, 2026
Comment on lines +51 to +53
// IcebergCompaction is a placeholder for future compaction settings.
// Currently not implemented but reserved for API compatibility.
IcebergCompaction *json.RawMessage `json:"icebergCompaction,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it we don't add the existing type?

Without more details, it seems strictly worse to add it like this than omitting it, since you would inevitably break API compatibility when you add it.

(also you shouldn't need a pointer to json.RawMessage since it has a slice that can be nil).

Comment on lines +32 to +33
MaintenanceStatusEnabled = "enabled"
MaintenanceStatusDisabled = "disabled"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest you add a type MaintenanceStatus string and make these typed.

Comment on lines +26 to +27
MaintenanceTypeIcebergSnapshotManagement = "icebergSnapshotManagement"
MaintenanceTypeIcebergCompaction = "icebergCompaction"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see where/how these are used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants