package spark.connect

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service SparkConnectService

base.proto:782

Main interface for the SparkConnect service.

message AddArtifactsRequest.ArtifactChunk

base.proto:524

A chunk of an Artifact.

Used in: AddArtifactsRequest, BeginChunkedArtifact, SingleChunkArtifact

message AddArtifactsRequest.Batch

base.proto:546

A number of `SingleChunkArtifact` batched into a single RPC.

Used in: AddArtifactsRequest

message AddArtifactsRequest.BeginChunkedArtifact

base.proto:553

Signals the beginning/start of a chunked artifact. A large artifact is transferred through a payload of `BeginChunkedArtifact` followed by a sequence of `ArtifactChunk`s.

Used in: AddArtifactsRequest

message AddArtifactsRequest.SingleChunkArtifact

base.proto:533

An artifact that is contained in a single `ArtifactChunk`. Generally, this message represents tiny artifacts such as REPL-generated class files.

Used in: Batch

message AddArtifactsResponse.ArtifactSummary

base.proto:583

Metadata of an artifact.

Used in: AddArtifactsResponse

message Aggregate

relations.proto:305

Relation of type [[Aggregate]].

Used in: Relation

enum Aggregate.GroupType

relations.proto:321

Used in: Aggregate

message Aggregate.Pivot

relations.proto:329

Used in: Aggregate

message AnalyzePlanRequest.DDLParse

base.proto:156

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.Explain

base.proto:99

Explains the input plan based on a configurable mode.

Used in: AnalyzePlanRequest

enum AnalyzePlanRequest.Explain.ExplainMode

base.proto:107

Plan explanation mode.

Used in: Explain

message AnalyzePlanRequest.GetStorageLevel

base.proto:192

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.InputFiles

base.proto:149

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.IsLocal

base.proto:139

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.IsStreaming

base.proto:144

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.Persist

base.proto:176

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.SameSemantics

base.proto:163

Returns `true` when the logical query plans are equal and therefore return same results.

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.Schema

base.proto:93

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.SemanticHash

base.proto:171

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.SparkVersion

base.proto:154

Used in: AnalyzePlanRequest

(message has no fields)

message AnalyzePlanRequest.TreeString

base.proto:131

Used in: AnalyzePlanRequest

message AnalyzePlanRequest.Unpersist

base.proto:184

Used in: AnalyzePlanRequest

message AnalyzePlanResponse.DDLParse

base.proto:248

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.Explain

base.proto:223

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.GetStorageLevel

base.proto:264

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.InputFiles

base.proto:239

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.IsLocal

base.proto:231

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.IsStreaming

base.proto:235

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.Persist

base.proto:260

Used in: AnalyzePlanResponse

(message has no fields)

message AnalyzePlanResponse.SameSemantics

base.proto:252

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.Schema

base.proto:219

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.SemanticHash

base.proto:256

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.SparkVersion

base.proto:244

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.TreeString

base.proto:227

Used in: AnalyzePlanResponse

message AnalyzePlanResponse.Unpersist

base.proto:262

Used in: AnalyzePlanResponse

(message has no fields)

message ApplyInPandasWithState

relations.proto:922

Used in: Relation

message ArtifactStatusesResponse.ArtifactStatus

base.proto:624

Used in: ArtifactStatusesResponse

message CacheTable

catalog.proto:201

See `spark.catalog.cacheTable`

Used in: Catalog

message CachedLocalRelation

relations.proto:402

A local relation that has been cached already.

Used in: Relation

message CachedRemoteRelation

relations.proto:414

Represents a remote relation that has been cached on server.

Used in: Relation

message CallFunction

expressions.proto:376

Used in: Expression

message Catalog

catalog.proto:30

Catalog messages are marked as unstable.

Used in: Relation

message ClearCache

catalog.proto:216

See `spark.catalog.clearCache`

Used in: Catalog

(message has no fields)

message CoGroupMap

relations.proto:899

Used in: Relation

message CollectMetrics

relations.proto:976

Collect arbitrary (named) metrics from a dataset.

Used in: Relation

message Command

commands.proto:33

A [[Command]] is an operation that is executed by the server that does not directly consume or produce a relational result.

Used in: Plan

message CommonInlineUserDefinedFunction

expressions.proto:328

Used in: ApplyInPandasWithState, CoGroupMap, Command, Expression, GroupMap, MapPartitions

message CommonInlineUserDefinedTableFunction

relations.proto:945

Used in: Command, Relation

message ConfigRequest.Get

base.proto:457

Used in: Operation

message ConfigRequest.GetAll

base.proto:472

Used in: Operation

message ConfigRequest.GetOption

base.proto:467

Used in: Operation

message ConfigRequest.GetWithDefault

base.proto:462

Used in: Operation

message ConfigRequest.IsModifiable

base.proto:482

Used in: Operation

message ConfigRequest.Operation

base.proto:440

Used in: ConfigRequest

message ConfigRequest.Set

base.proto:452

Used in: Operation

message ConfigRequest.Unset

base.proto:477

Used in: Operation

message CreateDataFrameViewCommand

commands.proto:71

A command that can create DataFrame global temp view or local temp view.

Used in: Command

message CreateExternalTable

catalog.proto:145

See `spark.catalog.createExternalTable`

Used in: Catalog

message CreateTable

catalog.proto:160

See `spark.catalog.createTable`

Used in: Catalog

message CurrentCatalog

catalog.proto:231

See `spark.catalog.currentCatalog`

Used in: Catalog

(message has no fields)

message CurrentDatabase

catalog.proto:62

See `spark.catalog.currentDatabase`

Used in: Catalog

(message has no fields)

message DataType

types.proto:28

This message describes the logical [[DataType]] of something. It does not carry the value itself but only describes it.

Used in: AnalyzePlanResponse.DDLParse, AnalyzePlanResponse.Schema, CreateExternalTable, CreateTable, DataType.Array, DataType.Map, DataType.StructField, DataType.UDT, ExecutePlanResponse, Expression.Cast, Expression.Literal, Expression.Literal.Array, Expression.Literal.Map, Expression.Literal.Struct, JavaUDF, Parse, PythonUDF, PythonUDTF, ScalarScalaUDF, ToSchema

message DataType.Array

types.proto:170

Used in: DataType

message DataType.Binary

types.proto:105

Used in: DataType

message DataType.Boolean

types.proto:73

Used in: DataType

message DataType.Byte

types.proto:77

Used in: DataType

message DataType.CalendarInterval

types.proto:125

Used in: DataType

message DataType.Char

types.proto:142

Start compound types.

Used in: DataType

message DataType.Date

types.proto:117

Used in: DataType

message DataType.DayTimeInterval

types.proto:135

Used in: DataType

message DataType.Decimal

types.proto:152

Used in: DataType

message DataType.Double

types.proto:97

Used in: DataType

message DataType.Float

types.proto:93

Used in: DataType

message DataType.Integer

types.proto:85

Used in: DataType

message DataType.Long

types.proto:89

Used in: DataType

message DataType.Map

types.proto:176

Used in: DataType

message DataType.NULL

types.proto:109

Used in: DataType

message DataType.Short

types.proto:81

Used in: DataType

message DataType.String

types.proto:101

Used in: DataType

message DataType.Struct

types.proto:165

Used in: DataType

message DataType.StructField

types.proto:158

Used in: Struct

message DataType.Timestamp

types.proto:113

Used in: DataType

message DataType.TimestampNTZ

types.proto:121

Used in: DataType

message DataType.UDT

types.proto:183

Used in: DataType

message DataType.Unparsed

types.proto:191

Used in: DataType

message DataType.VarChar

types.proto:147

Used in: DataType

message DataType.YearMonthInterval

types.proto:129

Used in: DataType

message DatabaseExists

catalog.proto:123

See `spark.catalog.databaseExists`

Used in: Catalog

message Deduplicate

relations.proto:369

Relation of type [[Deduplicate]] which have duplicate rows removed, could consider either only the subset of columns or all the columns.

Used in: Relation

message Drop

relations.proto:355

Drop specified columns.

Used in: Relation

message DropGlobalTempView

catalog.proto:183

See `spark.catalog.dropGlobalTempView`

Used in: Catalog

message DropTempView

catalog.proto:177

See `spark.catalog.dropTempView`

Used in: Catalog

message ExecutePlanRequest.RequestOption

base.proto:304

Used in: ExecutePlanRequest

message ExecutePlanResponse

base.proto:320

The response of a query, can be one or more for each request. Responses belonging to the same input query, carry the same `session_id`.

Used as response type in: SparkConnectService.ExecutePlan, SparkConnectService.ReattachExecute

message ExecutePlanResponse.ArrowBatch

base.proto:376

Batch results of metrics.

Used in: ExecutePlanResponse

message ExecutePlanResponse.Metrics

base.proto:381

Used in: ExecutePlanResponse

message ExecutePlanResponse.Metrics.MetricObject

base.proto:385

Used in: Metrics

message ExecutePlanResponse.Metrics.MetricValue

base.proto:392

Used in: MetricObject

message ExecutePlanResponse.ObservedMetrics

base.proto:399

Used in: ExecutePlanResponse

message ExecutePlanResponse.ResultComplete

base.proto:404

If present, in a reattachable execution this means that after server sends onComplete, the execution is complete. If the server sends onComplete without sending a ResultComplete, it means that there is more, and the client should use ReattachExecute RPC to continue.

Used in: ExecutePlanResponse

(message has no fields)

message ExecutePlanResponse.SqlCommandResult

base.proto:371

A SQL command returns an opaque Relation that can be directly used as input for the next call.

Used in: ExecutePlanResponse

message Expression

expressions.proto:31

Expression used to refer to fields, functions and similar. This can be used everywhere expressions in SQL appear.

Used in: Aggregate, Aggregate.Pivot, ApplyInPandasWithState, CallFunction, CoGroupMap, CollectMetrics, CommonInlineUserDefinedFunction, CommonInlineUserDefinedTableFunction, Drop, Expression.Alias, Expression.Cast, Expression.LambdaFunction, Expression.SortOrder, Expression.UnresolvedExtractValue, Expression.UnresolvedFunction, Expression.UpdateFields, Expression.Window, Expression.Window.WindowFrame.FrameBoundary, Filter, GroupMap, Hint, Join, Project, RepartitionByExpression, StatSampleBy, Unpivot, Unpivot.Values, WriteOperationV2

message Expression.Alias

expressions.proto:297

Used in: Expression, WithColumns

message Expression.Cast

expressions.proto:139

Used in: Expression

message Expression.ExpressionString

expressions.proto:247

Expression as string.

Used in: Expression

message Expression.LambdaFunction

expressions.proto:310

Used in: Expression

message Expression.Literal

expressions.proto:151

Used in: Aggregate.Pivot, ExecutePlanResponse.ObservedMetrics, Expression, Literal.Array, Literal.Map, Literal.Struct, NAFill, NAReplace.Replacement, SQL, SqlCommand, StatSampleBy.Fraction

message Expression.Literal.Array

expressions.proto:198

Used in: Literal

message Expression.Literal.CalendarInterval

expressions.proto:192

Used in: Literal

message Expression.Literal.Decimal

expressions.proto:182

Used in: Literal

message Expression.Literal.Map

expressions.proto:203

Used in: Literal

message Expression.Literal.Struct

expressions.proto:210

Used in: Literal

message Expression.SortOrder

expressions.proto:116

SortOrder is used to specify the data ordering, it is normally used in Sort and Window. It is an unevaluable expression and cannot be evaluated, so can not be used in Projection.

Used in: Expression, Window, Sort

enum Expression.SortOrder.NullOrdering

expressions.proto:132

Used in: SortOrder

enum Expression.SortOrder.SortDirection

expressions.proto:126

Used in: SortOrder

message Expression.UnresolvedAttribute

expressions.proto:218

An unresolved attribute that is not explicitly bound to a specific column, but the column is resolved during analysis by name.

Used in: Expression

message Expression.UnresolvedExtractValue

expressions.proto:273

Extracts a value or values from an Expression

Used in: Expression

message Expression.UnresolvedFunction

expressions.proto:229

An unresolved function is not explicitly bound to one explicit function, but the function is resolved during analysis following Sparks name resolution rules.

Used in: Expression

message Expression.UnresolvedNamedLambdaVariable

expressions.proto:321

Used in: Expression, LambdaFunction

message Expression.UnresolvedRegex

expressions.proto:264

Represents all of the input attributes to a given relational operator, for example in "SELECT `(id)?+.+` FROM ...".

Used in: Expression

message Expression.UnresolvedStar

expressions.proto:253

UnresolvedStar is used to expand all the fields of a relation or struct.

Used in: Expression

message Expression.UpdateFields

expressions.proto:284

Add, replace or drop a field of `StructType` expression by name.

Used in: Expression

message Expression.Window

expressions.proto:58

Expression for the OVER clause or WINDOW clause.

Used in: Expression

message Expression.Window.WindowFrame

expressions.proto:75

The window frame

Used in: Window

message Expression.Window.WindowFrame.FrameBoundary

expressions.proto:97

Used in: WindowFrame

enum Expression.Window.WindowFrame.FrameType

expressions.proto:86

Used in: WindowFrame

message Filter

relations.proto:186

Relation that applies a boolean expression `condition` on each row of `input` to produce the output result.

Used in: Relation

message FunctionExists

catalog.proto:137

See `spark.catalog.functionExists`

Used in: Catalog

message GetDatabase

catalog.proto:101

See `spark.catalog.getDatabase`

Used in: Catalog

message GetFunction

catalog.proto:115

See `spark.catalog.getFunction`

Used in: Catalog

message GetResourcesCommand

commands.proto:411

Command to get the output of 'SparkContext.resources'

Used in: Command

(message has no fields)

message GetResourcesCommandResult

commands.proto:414

Response for command 'GetResourcesCommand'.

Used in: ExecutePlanResponse

message GetTable

catalog.proto:107

See `spark.catalog.getTable`

Used in: Catalog

message GroupMap

relations.proto:869

Used in: Relation

message Hint

relations.proto:800

Specify a hint over a relation. Hint should have a name and optional parameters.

Used in: Relation

message HtmlString

relations.proto:501

Compose the string representing rows for output. It will invoke 'Dataset.htmlString' to compute the results.

Used in: Relation

enum InterruptRequest.InterruptType

base.proto:653

Used in: InterruptRequest

message IsCached

catalog.proto:195

See `spark.catalog.isCached`

Used in: Catalog

message JavaUDF

expressions.proto:365

Used in: CommonInlineUserDefinedFunction

message Join

relations.proto:197

Relation of type [[Join]]. `left` and `right` must be present.

Used in: Relation

message Join.JoinDataType

relations.proto:233

Used in: Join

enum Join.JoinType

relations.proto:219

Used in: Join

message KeyValue

base.proto:412

The key-value pair for the config request and response.

Used in: ConfigRequest.GetWithDefault, ConfigRequest.Set, ConfigResponse

message Limit

relations.proto:277

Relation of type [[Limit]] that is used to `limit` rows from the input relation.

Used in: Relation

message ListCatalogs

catalog.proto:240

See `spark.catalog.listCatalogs`

Used in: Catalog

message ListColumns

catalog.proto:93

See `spark.catalog.listColumns`

Used in: Catalog

message ListDatabases

catalog.proto:71

See `spark.catalog.listDatabases`

Used in: Catalog

message ListFunctions

catalog.proto:85

See `spark.catalog.listFunctions`

Used in: Catalog

message ListTables

catalog.proto:77

See `spark.catalog.listTables`

Used in: Catalog

message LocalRelation

relations.proto:388

A relation that does not need to be qualified by name.

Used in: Relation

message MapPartitions

relations.proto:858

Used in: Relation

message NADrop

relations.proto:692

Drop rows containing null values. It will invoke 'Dataset.na.drop' (same as 'DataFrameNaFunctions.drop') to compute the results.

Used in: Relation

message NAFill

relations.proto:675

Replaces null values. It will invoke 'Dataset.na.fill' (same as 'DataFrameNaFunctions.fill') to compute the results. Following 3 parameter combinations are supported: 1, 'values' only contains 1 item, 'cols' is empty: replaces null values in all type-compatible columns. 2, 'values' only contains 1 item, 'cols' is not empty: replaces null values in specified columns. 3, 'values' contains more than 1 items, then 'cols' is required to have the same length: replaces each specified column with corresponding value.

Used in: Relation

message NAReplace

relations.proto:716

Replaces old values with the corresponding values. It will invoke 'Dataset.na.replace' (same as 'DataFrameNaFunctions.replace') to compute the results.

Used in: Relation

message NAReplace.Replacement

relations.proto:728

Used in: NAReplace

message Offset

relations.proto:287

Relation of type [[Offset]] that is used to read rows staring from the `offset` on the input relation.

Used in: Relation

message Parse

relations.proto:987

Used in: Relation

enum Parse.ParseFormat

relations.proto:998

Used in: Parse

message Plan

base.proto:37

A [[Plan]] is the structure that carries the runtime information for the execution from the client to the server. A [[Plan]] can either be of the type [[Relation]] which is a reference to the underlying logical plan or it can be of the [[Command]] type that is used to execute commands on the server.

Used in: AnalyzePlanRequest.Explain, AnalyzePlanRequest.InputFiles, AnalyzePlanRequest.IsLocal, AnalyzePlanRequest.IsStreaming, AnalyzePlanRequest.SameSemantics, AnalyzePlanRequest.Schema, AnalyzePlanRequest.SemanticHash, AnalyzePlanRequest.TreeString, ExecutePlanRequest

message Project

relations.proto:174

Projection of a bag of expressions for a given input relation. The input relation must be specified. The projected expression can be an arbitrary expression.

Used in: Relation

message PythonUDF

expressions.proto:343

Used in: CommonInlineUserDefinedFunction, StreamingForeachFunction, StreamingQueryManagerCommand.StreamingQueryListenerCommand

message PythonUDTF

relations.proto:961

Used in: CommonInlineUserDefinedTableFunction

message Range

relations.proto:443

Relation of type [[Range]] that generates a sequence of integers.

Used in: Relation

message Read

relations.proto:127

Relation that reads from a file / table or other data source. Does not have additional inputs.

Used in: Relation

message Read.DataSource

relations.proto:144

Used in: Read

message Read.NamedTable

relations.proto:136

Used in: Read

message ReattachOptions

base.proto:683

Used in: ExecutePlanRequest.RequestOption

message RecoverPartitions

catalog.proto:189

See `spark.catalog.recoverPartitions`

Used in: Catalog

message RefreshByPath

catalog.proto:225

See `spark.catalog.refreshByPath`

Used in: Catalog

message RefreshTable

catalog.proto:219

See `spark.catalog.refreshTable`

Used in: Catalog

message Relation

relations.proto:35

The main [[Relation]] type. Fundamentally, a relation is a typed container that has exactly one explicit relation type set. When adding new relation types, they have to be registered here.

Used in: Aggregate, AnalyzePlanRequest.GetStorageLevel, AnalyzePlanRequest.Persist, AnalyzePlanRequest.Unpersist, ApplyInPandasWithState, CoGroupMap, CollectMetrics, CreateDataFrameViewCommand, Deduplicate, Drop, ExecutePlanResponse.SqlCommandResult, Filter, GroupMap, Hint, HtmlString, Join, Limit, MapPartitions, NADrop, NAFill, NAReplace, Offset, Parse, Plan, Project, Repartition, RepartitionByExpression, Sample, SetOperation, ShowString, Sort, StatApproxQuantile, StatCorr, StatCov, StatCrosstab, StatDescribe, StatFreqItems, StatSampleBy, StatSummary, SubqueryAlias, Tail, ToDF, ToSchema, Unpivot, WithColumns, WithColumnsRenamed, WithWatermark, WriteOperation, WriteOperationV2, WriteStreamOperationStart

message RelationCommon

relations.proto:105

Common metadata of all relations.

Used in: Relation

message ReleaseExecuteRequest.ReleaseAll

base.proto:754

Release and close operation completely. This will also interrupt the query if it is running execution, and wait for it to be torn down.

Used in: ReleaseExecuteRequest

(message has no fields)

message ReleaseExecuteRequest.ReleaseUntil

base.proto:761

Release all responses from the operation response stream up to and including the response with the given by response_id. While server determines by itself how much of a buffer of responses to keep, client providing explicit release calls will help reduce resource consumption. Noop if response_id not found in cached responses.

Used in: ReleaseExecuteRequest

message Repartition

relations.proto:471

Relation repartition.

Used in: Relation

message RepartitionByExpression

relations.proto:847

Used in: Relation

message ResourceInformation

common.proto:43

ResourceInformation to hold information about a type of Resource. The corresponding class is 'org.apache.spark.resource.ResourceInformation'

Used in: GetResourcesCommandResult

message SQL

relations.proto:114

Relation that uses a SQL query to generate the output.

Used in: Relation

message Sample

relations.proto:420

Relation of type [[Sample]] that samples a fraction of the dataset.

Used in: Relation

message ScalarScalaUDF

expressions.proto:354

Used in: CommonInlineUserDefinedFunction, StreamingForeachFunction

message SetCurrentCatalog

catalog.proto:234

See `spark.catalog.setCurrentCatalog`

Used in: Catalog

message SetCurrentDatabase

catalog.proto:65

See `spark.catalog.setCurrentDatabase`

Used in: Catalog

message SetOperation

relations.proto:242

Relation of type [[SetOperation]]

Used in: Relation

enum SetOperation.SetOpType

relations.proto:268

Used in: SetOperation

message ShowString

relations.proto:484

Compose the string representing rows for output. It will invoke 'Dataset.showString' to compute the results.

Used in: Relation

message Sort

relations.proto:342

Relation of type [[Sort]].

Used in: Relation

message SqlCommand

commands.proto:59

A SQL Command is used to trigger the eager evaluation of SQL commands in Spark. When the SQL provide as part of the message is a command it will be immediately evaluated and the result will be collected and returned as part of a LocalRelation. If the result is not a command, the operation will simply return a SQL Relation. This allows the client to be almost oblivious to the server-side behavior.

Used in: Command

message StatApproxQuantile

relations.proto:601

Calculates the approximate quantiles of numerical columns of a DataFrame. It will invoke 'Dataset.stat.approxQuantile' (same as 'StatFunctions.approxQuantile') to compute the results.

Used in: Relation

message StatCorr

relations.proto:582

Calculates the correlation of two columns of a DataFrame. Currently only supports the Pearson Correlation Coefficient. It will invoke 'Dataset.stat.corr' (same as 'StatFunctions.pearsonCorrelation') to compute the results.

Used in: Relation

message StatCov

relations.proto:568

Calculate the sample covariance of two numerical columns of a DataFrame. It will invoke 'Dataset.stat.cov' (same as 'StatFunctions.calculateCov') to compute the results.

Used in: Relation

message StatCrosstab

relations.proto:551

Computes a pair-wise frequency table of the given columns. Also known as a contingency table. It will invoke 'Dataset.stat.crosstab' (same as 'StatFunctions.crossTabulate') to compute the results.

Used in: Relation

message StatDescribe

relations.proto:540

Computes basic statistics for numeric and string columns, including count, mean, stddev, min, and max. If no columns are given, this function computes statistics for all numerical or string columns.

Used in: Relation

message StatFreqItems

relations.proto:624

Finding frequent items for columns, possibly with false positives. It will invoke 'Dataset.stat.freqItems' (same as 'StatFunctions.freqItems') to compute the results.

Used in: Relation

message StatSampleBy

relations.proto:641

Returns a stratified sample without replacement based on the fraction given on each stratum. It will invoke 'Dataset.stat.freqItems' (same as 'StatFunctions.freqItems') to compute the results.

Used in: Relation

message StatSampleBy.Fraction

relations.proto:656

Used in: StatSampleBy

message StatSummary

relations.proto:516

Computes specified statistics for numeric and string columns. It will invoke 'Dataset.summary' (same as 'StatFunctions.summary') to compute the results.

Used in: Relation

message StorageLevel

common.proto:27

StorageLevel for persisting Datasets/Tables.

Used in: AnalyzePlanRequest.Persist, AnalyzePlanResponse.GetStorageLevel, CacheTable

message StreamingForeachFunction

commands.proto:222

Used in: WriteStreamOperationStart

message StreamingQueryCommand

commands.proto:258

Commands for a streaming query.

Used in: Command

message StreamingQueryCommand.AwaitTerminationCommand

commands.proto:289

Used in: StreamingQueryCommand

message StreamingQueryCommand.ExplainCommand

commands.proto:283

Used in: StreamingQueryCommand

message StreamingQueryCommandResult

commands.proto:295

Response for commands on a streaming query.

Used in: ExecutePlanResponse

message StreamingQueryCommandResult.AwaitTerminationResult

commands.proto:335

Used in: StreamingQueryCommandResult

message StreamingQueryCommandResult.ExceptionResult

commands.proto:325

Used in: StreamingQueryCommandResult

message StreamingQueryCommandResult.ExplainResult

commands.proto:320

Used in: StreamingQueryCommandResult

message StreamingQueryCommandResult.RecentProgressResult

commands.proto:315

Used in: StreamingQueryCommandResult

message StreamingQueryCommandResult.StatusResult

commands.proto:307

Used in: StreamingQueryCommandResult

message StreamingQueryInstanceId

commands.proto:244

A tuple that uniquely identifies an instance of streaming query run. It consists of `id` that persists across the streaming runs and `run_id` that changes between each run of the streaming query that resumes from the checkpoint.

Used in: StreamingQueryCommand, StreamingQueryCommandResult, StreamingQueryManagerCommandResult.StreamingQueryInstance, WriteStreamOperationStartResult

message StreamingQueryManagerCommand

commands.proto:341

Commands for the streaming query manager.

Used in: Command

message StreamingQueryManagerCommand.AwaitAnyTerminationCommand

commands.proto:361

Used in: StreamingQueryManagerCommand

message StreamingQueryManagerCommand.StreamingQueryListenerCommand

commands.proto:366

Used in: StreamingQueryManagerCommand

message StreamingQueryManagerCommandResult

commands.proto:374

Response for commands on the streaming query manager.

Used in: ExecutePlanResponse

message StreamingQueryManagerCommandResult.ActiveResult

commands.proto:385

Used in: StreamingQueryManagerCommandResult

message StreamingQueryManagerCommandResult.AwaitAnyTerminationResult

commands.proto:396

Used in: StreamingQueryManagerCommandResult

message StreamingQueryManagerCommandResult.ListStreamingQueryListenerResult

commands.proto:404

Used in: StreamingQueryManagerCommandResult

message StreamingQueryManagerCommandResult.StreamingQueryInstance

commands.proto:389

Used in: StreamingQueryManagerCommandResult, ActiveResult

message StreamingQueryManagerCommandResult.StreamingQueryListenerInstance

commands.proto:400

message SubqueryAlias

relations.proto:459

Relation alias.

Used in: Relation

message TableExists

catalog.proto:129

See `spark.catalog.tableExists`

Used in: Catalog

message Tail

relations.proto:296

Relation of type [[Tail]] that is used to fetch `limit` rows from the last of the input relation.

Used in: Relation

message ToDF

relations.proto:743

Rename columns on the input relation by the same length of names.

Used in: Relation

message ToSchema

relations.proto:837

Used in: Relation

message UncacheTable

catalog.proto:210

See `spark.catalog.uncacheTable`

Used in: Catalog

message Unknown

relations.proto:102

Used for testing purposes only.

Used in: Relation

(message has no fields)

message Unpivot

relations.proto:816

Unpivot a DataFrame from wide format to long format, optionally leaving identifier columns set.

Used in: Relation

message Unpivot.Values

relations.proto:832

Used in: Unpivot

message UserContext

base.proto:48

User Context is used to refer to one particular user session that is executing queries in the backend.

Used in: AddArtifactsRequest, AnalyzePlanRequest, ArtifactStatusesRequest, ConfigRequest, ExecutePlanRequest, InterruptRequest, ReattachExecuteRequest, ReleaseExecuteRequest

message WithColumns

relations.proto:771

Adding columns or replacing the existing columns that have the same names.

Used in: Relation

message WithColumnsRenamed

relations.proto:756

Rename columns on the input relation by a map with name to name mapping.

Used in: Relation

message WithWatermark

relations.proto:787

Used in: Relation

message WriteOperation

commands.proto:89

As writes are not directly handled during analysis and planning, they are modeled as commands.

Used in: Command

message WriteOperation.BucketBy

commands.proto:135

Used in: WriteOperation

enum WriteOperation.SaveMode

commands.proto:140

Used in: WriteOperation

message WriteOperation.SaveTable

commands.proto:122

Used in: WriteOperation

enum WriteOperation.SaveTable.TableSaveMethod

commands.proto:128

Used in: SaveTable

message WriteOperationV2

commands.proto:150

As writes are not directly handled during analysis and planning, they are modeled as commands.

Used in: Command

enum WriteOperationV2.Mode

commands.proto:174

Used in: WriteOperationV2

message WriteStreamOperationStart

commands.proto:190

Starts write stream operation as streaming query. Query ID and Run ID of the streaming query are returned.

Used in: Command

message WriteStreamOperationStartResult

commands.proto:229

Used in: ExecutePlanResponse