Ma77Ball opened a new pull request, #5033:
URL: https://github.com/apache/texera/pull/5033
### What changes were proposed in this PR?
`PartitionInfo`'s `@JsonSubTypes` array listed every concrete subclass
except `OneToOnePartition`, so Jackson could not resolve that discriminator,
and the round-trip was broken for any payload carrying a `OneToOnePartition`.
This PR adds the missing `new Type(value = classOf[OneToOnePartition],
name = "oneToOne")` entry alongside the other five subtypes. The
`PartitionInfoSpec` test that pinned the (buggy) five-entry registration set
and its
The sibling `pendingUntilFixed` test that documented the intended
six-entry set is merged into a single assertion covering all six concrete
subclasses.
### Any related issues, documentation, or discussions?
Closes: #4805
### How was this PR tested?
Updated `PartitionInfoSpec` to assert the full six-entry registration set,
including `OneToOnePartition`. `sbt scalafmtAll` ran clean. CI scalatest run on
`workflow-core` is expected to pass.
### Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.7 in compliance with ASF
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]