Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [dataproc] add support for Spark Connect sessions in Dataproc Serverless for Spark #5709

Merged
merged 3 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ message SessionTemplate {
oneof session_config {
// Optional. Jupyter session config.
JupyterConfig jupyter_session = 3 [(google.api.field_behavior) = OPTIONAL];

// Optional. Spark Connect session config.
SparkConnectConfig spark_connect_session = 11
[(google.api.field_behavior) = OPTIONAL];
}

// Output only. The email address of the user who created the template.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,13 @@ message ListSessionsRequest {
// A filter is a logical expression constraining the values of various fields
// in each session resource. Filters are case sensitive, and may contain
// multiple clauses combined with logical operators (AND, OR).
// Supported fields are `session_id`, `session_uuid`, `state`, and
// `create_time`.
// Supported fields are `session_id`, `session_uuid`, `state`, `create_time`,
// and `labels`.
//
// Example: `state = ACTIVE and create_time < "2023-01-01T00:00:00Z"`
// is a filter for sessions in an ACTIVE state that were created before
// 2023-01-01.
// 2023-01-01. `state = ACTIVE and labels.environment=production` is a filter
// for sessions in an ACTIVE state that have a production environment label.
//
// See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed
// description of the filter syntax and a list of supported comparators.
Expand Down Expand Up @@ -289,6 +290,10 @@ message Session {
oneof session_config {
// Optional. Jupyter session config.
JupyterConfig jupyter_session = 4 [(google.api.field_behavior) = OPTIONAL];

// Optional. Spark Connect session config.
SparkConnectConfig spark_connect_session = 17
[(google.api.field_behavior) = OPTIONAL];
}

// Output only. Runtime information about session execution.
Expand Down Expand Up @@ -369,3 +374,6 @@ message JupyterConfig {
// Optional. Display name, shown in the Jupyter kernelspec card.
string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
}

// Spark Connect configuration for an interactive session.
message SparkConnectConfig {}
107 changes: 105 additions & 2 deletions packages/google-cloud-dataproc/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading