You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-53812][SDP] Refactor DefineDataset and DefineFlow protos to group related properties and future-proof
### What changes were proposed in this pull request?
- In `DefineDataset', pulls out all the properties that are table-specific into their own sub-message.
- In `DefineFlow`, pulls out the `relation` property into its own sub-message.
### Why are the changes needed?
The DefineDataset and DefineFlow Spark Connect protos are moshpits of properties that could be refactored into a more coherent structure:
- In `DefineDataset`, there are a set of properties that are only relevant to tables (not views). They can be
- In `DefineFlow`, the relation property refers to flows that write the results of a relation to a target table. In the future, we may want to introduce additional flows types that mutate the target table in different ways.
### Does this PR introduce _any_ user-facing change?
No, these protos haven't been shipped yet.
### How was this patch tested?
Updated existing tests.
### Was this patch authored or co-authored using generative AI tooling?
Closes#52532 from sryza/table-flow-details.
Lead-authored-by: Sandy Ryza <[email protected]>
Co-authored-by: Sandy Ryza <[email protected]>
Signed-off-by: Sandy Ryza <[email protected]>
0 commit comments