Skip to content

Conversation

SCHJonathan
Copy link
Contributor

@SCHJonathan SCHJonathan commented Oct 3, 2025

What changes were proposed in this pull request?

Adding google.protobuf.Any extension = 999; field to PipelineCommand, DefineDataset, and DefineFlow Protos to support forward-compatibility by carrying additional pipeline command types / dataset or flow's fields that are not yet defined in this version of the proto.

During the planning stage, the Spark Server will resolve and dispatch command / message to the correct handler.

Why are the changes needed?

To support forward-compatibility by carrying additional pipeline command types / dataset or flow's fields that are not yet defined in this version of the proto. Useful for platforms that want to extend pipeline commands with platform-specific capabilities.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Test will be added for feature works using this new field

Was this patch authored or co-authored using generative AI tooling?

No

@SCHJonathan SCHJonathan changed the title done Add extension field to pipeline protos to support forward compatibility Oct 3, 2025
@SCHJonathan SCHJonathan changed the title Add extension field to pipeline protos to support forward compatibility [SPARK-53796] Add extension field to pipeline protos to support forward compatibility Oct 3, 2025
@SCHJonathan SCHJonathan requested a review from sryza October 3, 2025 19:04
Copy link
Contributor

@sryza sryza left a comment

Choose a reason for hiding this comment

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

LGTM!

@SCHJonathan
Copy link
Contributor Author

Hi @vicennial @hvanhovell, wondering whether yall wanna take a look at this PR. This PR is adding extension field to the DefineDataset and DefineFlow proto to support databricks only field

Copy link
Contributor

@hvanhovell hvanhovell left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

3 participants