package spark.spark_expression

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

message AggExpr

expr.proto:143

Used in: spark_operator.HashAggregate, spark_operator.WindowExpr

message ApproxPercentile

expr.proto:273

Used in: AggExpr

message ArrayInsert

expr.proto:557

Array functions

Used in: Expr

message ArrayJoin

expr.proto:564

message ArraysZip

expr.proto:602

Spark's ArraysZip takes children: Seq[Expression] and names: Seq[Expression] https://github.com/apache/spark/blob/branch-4.1/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala#L296

Used in: Expr

message Avg

expr.proto:203

Used in: AggExpr

message BinaryExpr

expr.proto:362

Used in: Expr

enum BinaryOutputStyle

expr.proto:422

Used in: ToPrettyString

message BitAndAgg

expr.proto:222

Used in: AggExpr

message BitOrAgg

expr.proto:227

Used in: AggExpr

message BitXorAgg

expr.proto:232

Used in: AggExpr

message BloomFilterAgg

expr.proto:289

Used in: AggExpr

message BloomFilterMightContain

expr.proto:518

Used in: Expr

enum BloomFilterVersion

expr.proto:301

Used in: BloomFilterAgg

message BoundReference

expr.proto:375

Bound to a particular vector array in input batch.

Used in: Expr

message CaseWhen

expr.proto:473

Used in: Expr

message Cast

expr.proto:343

Used in: Expr

message CheckOverflow

expr.proto:460

Used in: Expr

message CollectList

expr.proto:312

Used in: AggExpr

message CollectSet

expr.proto:307

Used in: AggExpr

message Correlation

expr.proto:259

Used in: AggExpr

message Count

expr.proto:183

Used in: AggExpr

message Covariance

expr.proto:237

Used in: AggExpr

message CreateNamedStruct

expr.proto:523

Used in: Expr

message CsvWriteOptions

expr.proto:411

Used in: ToCsv

message DataType

types.proto:43

Used in: ApproxPercentile, Avg, BitAndAgg, BitOrAgg, BitXorAgg, BloomFilterAgg, BoundReference, Cast, CheckOverflow, CollectList, CollectSet, Correlation, Covariance, DataType.ListInfo, DataType.MapInfo, DataType.StructInfo, First, FromJson, JvmScalarUdf, Last, Literal, MathExpr, Max, Min, NormalizeNaNAndZero, Percentile, PreciseTimestampConversion, ScalarFunc, Stddev, Subquery, Sum, UnboundReference, Variance, spark_operator.NativeScanCommon, spark_operator.Scan, spark_operator.ShuffleScan, spark_operator.SparkStructField, spark_operator.WindowExpr

enum DataType.DataTypeId

types.proto:44

Used in: DataType

message DataType.DataTypeInfo

types.proto:69

Used in: DataType

message DataType.DecimalInfo

types.proto:78

Used in: DataTypeInfo

message DataType.FieldMetadata

types.proto:109

Used in: StructInfo

message DataType.ListInfo

types.proto:83

Used in: DataTypeInfo

message DataType.MapInfo

types.proto:90

Used in: DataTypeInfo

message DataType.StructInfo

types.proto:99

Used in: DataTypeInfo

message EmptyExpr

expr.proto:371

Used in: Expr

(message has no fields)

enum EvalMode

expr.proto:324

Used in: Avg, Cast, MathExpr, Sum

message Expr

expr.proto:30

The basic message representing a Spark expression.

Used in: AggExpr, ApproxPercentile, ArrayInsert, ArrayJoin, ArraysZip, Avg, BinaryExpr, BitAndAgg, BitOrAgg, BitXorAgg, BloomFilterAgg, BloomFilterMightContain, CaseWhen, Cast, CheckOverflow, CollectList, CollectSet, Correlation, Count, Covariance, CreateNamedStruct, First, FromJson, GetArrayStructFields, GetStructField, HllPlusPlus, Hour, HoursTransform, IfExpr, In, JvmScalarUdf, Last, ListExtract, MathExpr, Max, Min, Minute, NormalizeNaNAndZero, Percentile, PreciseTimestampConversion, ScalarFunc, Second, Shuffle, SortOrder, Stddev, Sum, ToCsv, ToJson, ToPrettyString, TruncTimestamp, UnaryExpr, UnaryMinus, UnixTimestamp, Variance, spark_operator.BroadcastNestedLoopJoin, spark_operator.Expand, spark_operator.Explode, spark_operator.Filter, spark_operator.HashAggregate, spark_operator.HashJoin, spark_operator.NativeScanCommon, spark_operator.Projection, spark_operator.Sort, spark_operator.SortMergeJoin, spark_operator.SparkPartitionedFile, spark_operator.Window, spark_operator.WindowExpr, spark_operator.WindowSpecDefinition, spark_partitioning.BoundaryRow, spark_partitioning.HashPartition, spark_partitioning.RangePartition

message First

expr.proto:210

Used in: AggExpr

message FromJson

expr.proto:400

Used in: Expr

message GetArrayStructFields

expr.proto:541

Used in: Expr

message GetStructField

expr.proto:528

Used in: Expr

message HllPlusPlus

expr.proto:318

approx_count_distinct (Spark's HyperLogLogPlusPlus)

Used in: AggExpr

message Hour

expr.proto:436

Used in: Expr

message HoursTransform

expr.proto:441

Used in: Expr

message IfExpr

expr.proto:501

Used in: Expr

message In

expr.proto:485

Used in: Expr

message JvmScalarUdf

expr.proto:610

Scalar UDF dispatched to the JVM via JNI. Native side exports input arrays through Arrow C Data Interface, calls CometUdfBridge.evaluate, and imports the result.

Used in: Expr

message Last

expr.proto:216

Used in: AggExpr

message ListExtract

expr.proto:533

Used in: Expr

message ListLiteral

types.proto:26

Used in: Literal

message Literal

literal.proto:28

Used in: Expr, spark_operator.Following, spark_operator.Preceding

message MathExpr

expr.proto:330

Used in: Expr

message Max

expr.proto:198

Used in: AggExpr

message Min

expr.proto:193

Used in: AggExpr

message Minute

expr.proto:445

Used in: Expr

message NormalizeNaNAndZero

expr.proto:491

Used in: Expr

enum NullOrdering

expr.proto:551

Used in: SortOrder

message Percentile

expr.proto:266

Used in: AggExpr

message PreciseTimestampConversion

expr.proto:357

Spark's internal PreciseTimestampConversion, used by time-window grouping to convert between TimestampType/TimestampNTZType and LongType without losing microsecond precision. This is a pure reinterpret: the underlying value is unchanged, only the type is changed.

Used in: Expr

message QueryContext

expr.proto:111

QueryContext provides SQL query context for error messages. Mirrors Spark's SQLQueryContext for rich error reporting.

Used in: AggExpr, Expr

message Rand

expr.proto:570

Used in: Expr

message RandStr

expr.proto:595

Spark's RandStr (Spark 4.0+) returns a random alphanumeric string of the given length. It is non-deterministic: the resolved random seed is combined with the partition index and seeds an XORShiftRandom, matching org.apache.spark.sql.catalyst.expressions.ExpressionImplUtils.randStr.

Used in: Expr

message ScalarFunc

expr.proto:466

Used in: Expr

message Second

expr.proto:450

Used in: Expr

message Shuffle

expr.proto:578

Spark's Shuffle returns a random permutation of the given array. It is non-deterministic: the resolved random seed is combined with the partition index and drives a MersenneTwister-based inside-out Fisher-Yates shuffle, matching org.apache.spark.sql.catalyst.util.RandomIndicesGenerator.

Used in: Expr

enum SortDirection

expr.proto:546

Used in: SortOrder

message SortOrder

expr.proto:385

Used in: Expr

enum StatisticsType

expr.proto:178

Used in: Covariance, Stddev, Variance

message Stddev

expr.proto:252

Used in: AggExpr

message Subquery

expr.proto:513

Used in: Expr

message Sum

expr.proto:187

Used in: AggExpr

message ToCsv

expr.proto:406

Used in: Expr

message ToJson

expr.proto:391

Used in: Expr

message ToPrettyString

expr.proto:430

Used in: Expr

message TruncTimestamp

expr.proto:507

Used in: Expr

message UnaryExpr

expr.proto:367

Used in: Expr

message UnaryMinus

expr.proto:496

Used in: Expr

message UnboundReference

expr.proto:380

Used in: Expr

message UnixTimestamp

expr.proto:455

Used in: Expr

message Uuid

expr.proto:587

Spark's Uuid returns a random RFC 4122 version 4 UUID string. It is non-deterministic: the resolved random seed is combined with the partition index and seeds a Commons Math3 MersenneTwister, matching org.apache.spark.sql.catalyst.util.RandomUUIDGenerator.

Used in: Expr

message Variance

expr.proto:245

Used in: AggExpr