Skip to content

[To dev/1.3] Subscription: refactor payload APIs to use ResultSet and tsfile readers#17307

Open
VGalaxies wants to merge 2 commits intoapache:dev/1.3from
VGalaxies:codex/cherry-pick-17225-to-dev-1.3
Open

[To dev/1.3] Subscription: refactor payload APIs to use ResultSet and tsfile readers#17307
VGalaxies wants to merge 2 commits intoapache:dev/1.3from
VGalaxies:codex/cherry-pick-17225-to-dev-1.3

Conversation

@VGalaxies
Copy link
Contributor

cherry-pick #17225 to https://github.com/apache/iotdb/tree/dev/1.3

This backport keeps the renamed subscription payload accessors on dev/1.3, but adapts the implementation to the older tsfile APIs available on this branch. In particular, SubscriptionMessage#getResultSets() now exposes SubscriptionRecordHandler.SubscriptionResultSet, and SubscriptionMessage#getTsFile() continues to use SubscriptionTsFileHandler#openReader().

Verification:

  • mvn -T 8 -pl iotdb-client/service-rpc,iotdb-client/session,example/session -am spotless:apply compile -DskipTests

This PR was primarily authored with Codex using gpt-5.4 xhigh and then hand-reviewed by me. I AM responsible for every change made in this PR. I aimed to keep it aligned with our goals, though I may have missed minor issues. Please flag anything that feels off, I'll fix it quickly.

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.

1 participant