Skip to content

Core: Add REST Events request and response DTOs - #18161

Draft
sankalpsthakur wants to merge 1 commit into
apache:mainfrom
sankalpsthakur:cursor/irc-events-dtos-13580-721f
Draft

sankalpsthakur wants to merge 1 commit into
apache:mainfrom
sankalpsthakur:cursor/irc-events-dtos-13580-721f

Conversation

@sankalpsthakur

Copy link
Copy Markdown

Closes #13580

Adds REST Catalog Events request/response types from the Events endpoint proposal (spec PR #12584):

  • QueryEventsRequest / QueryEventsResponse with JSON parsers
  • Event and CatalogOperation covering the 12 standard operation types, plus unknown/x- types for forward compatibility
  • Parser round-trip tests and RESTSerializers registration

This is DTO + serialization only (no catalog handlers or client endpoint).

Test plan

  • ./gradlew :iceberg-core:test --tests org.apache.iceberg.rest.requests.TestQueryEventsRequestParser --tests org.apache.iceberg.rest.responses.TestQueryEventsResponseParser --tests org.apache.iceberg.rest.events.TestEventParser --tests org.apache.iceberg.rest.events.TestCatalogOperationParser

Apache ICLA: I have not signed an Individual Contributor License Agreement.


AI Disclosure

Implement QueryEventsRequest, QueryEventsResponse, Event, and catalog
operation types with JSON parsers and RESTSerializers registration.

Generated-by: Cursor Grok 4.6

Co-authored-by: Sankalp Thakur <sankalpsthakur@users.noreply.github.com>
@github-actions github-actions Bot added the core label Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IRC Events Endpoint Implementation: Request & Response Objects

2 participants