Spark Matrix

Open Lakehouse project

How Spark Matrix is built

The evidence model behind every cell: what is read from the Apache Spark source, how vendor claims are handled, the support levels, and the features and platforms compared.

Spark Matrix is an open-source comparison of Apache Spark features across managed Spark platforms. For each managed runtime it records the Apache Spark release the vendor states the runtime is based on, then reports which Spark features that runtime has and what support level the vendor documents. Every cell is traced either to the Apache Spark source tree at a release tag or to a primary vendor statement with a quotation and URL. Where vendor documentation is silent or contradictory, the matrix records an open question instead of guessing.

Why a version number is not enough

A platform that says "Spark 3.5" does not tell you whether it has Spark Connect, which SQL grammar it accepts, whether transformWithState exists, or what the vendor changed. Spark Matrix turns the version label into evidence. Its inventory goes below headline features to individual SQL functions, configuration keys, parser rules, APIs, data sources, Spark Connect protocol messages, error conditions and language and runtime requirements.

What Spark Matrix answers

  • Which Apache Spark release underlies each managed runtime?
  • Which Spark features are present in that release?
  • What support level does the vendor document for a feature?
  • When did an Apache API, SQL construct, configuration or protocol message first appear?
  • Which vendor runtimes are ahead of or behind their stated Apache base?

The evidence model

Every cell in the matrix comes from one of two kinds of evidence, joined at the runtime's Apache Spark base:

  1. The Apache Spark source tree. A harvester reads each Apache Spark feature-release tag from 3.0.0 to 4.3.0 and detects what that release contains. Each inventory record has its first release, its removal release when there is one, and a link to the source location.
  2. Primary vendor documentation. Each managed runtime links to the vendor page that states its Spark version. Each explicit support claim carries a quotation from the vendor's documentation and its URL.

An explicit vendor statement wins. Otherwise the matrix reports only what the runtime's stated Apache base contains. A vendor-documented backport is shown as ahead of Apache; an undocumented capability is not guessed. When vendor documentation is silent or contradictory, the matrix records an open question instead of turning absence into an answer.

What is read from the Apache source

Inventory itemSource artifact
SQL functions and examplessql-expression-schema.md and @ExpressionDescription
Public and internal configurationbuildConf, buildStaticConf and ConfigBuilder declarations
SQL statements and clausesSqlBaseParser.g4 rules and labeled alternatives
SQL keywordsSqlBaseLexer.g4
Spark Connect protocolRPC and plan messages under spark/connect/*.proto
Python and Scala APIsPySpark modules and org.apache.spark.sql.functions
Data sourcesDataSourceRegister.shortName() implementations
Documentation and compatibilitydocs/, error-conditions.json and docs/index.md

Headline features are defined by detection rules: the catalog describes how to recognize a feature in the source, not which release introduced it. The build evaluates each rule against the release tags and, in strict mode, fails when a rule no longer matches the newest release. Release dates and notes come from the Apache Spark website release announcements.

Support levels

Each cell shows one level, listed here from strongest evidence to weakest:

Documented
The vendor's documentation says the feature is supported on this runtime, with a quotation.
Ahead of Apache
The vendor documents the feature on a runtime whose Apache Spark base does not have it yet (a backport or vendor build).
Included in OSS
The runtime's Apache Spark version contains the feature, verified in Spark's source at that release. The vendor's documentation says nothing either way.
Partial
The vendor documents limits, such as only some APIs, languages or sources.
Preview
Documented as preview, beta or experimental on this runtime.
Off by default
Available, but the vendor turns it off by default (for example ANSI mode).
Unsupported
The vendor documents that the feature is not supported or not available.
Not in this Spark
The runtime's Apache Spark version predates the feature, and the vendor documents no backport. The cell names the Apache release that added it.
Not documented
A platform capability (table format, engine) that the vendor's documentation does not mention for this runtime.
Unknown
The vendor does not state which Spark version the runtime is based on, and documents nothing about the feature.

Features compared

The matrix tracks 181 headline features in these categories, alongside the full inventory of functions, configurations, syntax and APIs:

  • Spark Connect. The client/server protocol: thin clients in any language talk gRPC to a Spark server.
  • Structured Streaming. Incremental processing, state, triggers and the real-time mode.
  • Declarative Pipelines. Spark Declarative Pipelines (SDP): datasets and flows declared in SQL or Python, run as a graph.
  • SQL language. Statements, clauses and SQL semantics.
  • Data types. Types beyond the classics: variant, time, geospatial, collated strings.
  • Semantic layer. Metric views and other ways to define business logic once.
  • PySpark. Python DataFrame APIs, Arrow interchange and Python-defined data sources.
  • UDFs and UDTFs. User-defined functions in Python, Scala and SQL: scalar, aggregate and table functions, and how they run.
  • Data sources. Formats and connectors that ship with Spark.
  • Execution and performance. How queries run: adaptive execution, caching, scheduling.
  • Operations. Logging, UI, deployment and the runtime platform.
  • Machine learning. Spark ML, including ML over Spark Connect.
  • Platform capabilities. What the vendor adds around Spark: table formats, native engines, GPUs. Vendor-documented only.

Platforms covered

As of the 2026-12-03 data build, the matrix records 27 managed Spark services from 9 vendors. The table lists the runtime each service is shown at in the matrix, the Spark version string the vendor publishes, and its Apache Spark base.

Managed Spark services and the runtime shown in the matrix
ServiceRuntime shownVendor Spark versionApache base
DatabricksDatabricks ConnectDatabricks Connect 19 (latest Python release 19.3.0; pairs with Databricks Runtime 19)4.3.04.3.0
DatabricksDatabricks Runtime (classic compute)Databricks Runtime 19 (GA feature development phase; LTS transition date not yet set)4.3.04.3.0
DatabricksDatabricks serverless compute for notebooks and jobsServerless compute, weekly releases since August 17, 2026 (include updates from Databricks Runtime 19)4.3.04.3.0
Google CloudManaged Service for Apache Spark clusters (formerly Dataproc on Compute Engine)Image 4.0.0 (debian13 / ubuntu24 / ml-ubuntu24 / rocky9)4.2.04.2.0
Google CloudManaged Service for Apache Spark serverless (formerly Google Cloud Serverless for Apache Spark / Dataproc Serverless)Spark runtime 4.0.04.2.04.2.0
AWSAmazon EMR on EC2EMR Spark 8.2.0 (AWS runtime for Apache Spark)4.1.3-amzn-04.1.3
AWSAmazon EMR on EKSEMR Spark 8.2.0 on EKS4.1.3-amzn-04.1.3
AWSAmazon EMR ServerlessEMR Spark 8.2.0 (Serverless)4.1.3-amzn-04.1.3
Alibaba CloudAlibaba Cloud EMR Serverless Sparkesr-5.3.0 (Spark 4.1.1, Scala 2.13)4.1.14.1.1
AWSAWS Glue (Spark jobs)AWS Glue 6.04.1.14.1.1
MicrosoftMicrosoft Fabric (Spark runtime)Fabric Runtime 2.04.1.14.1.1
IBMIBM Analytics Engine (serverless)Spark 4.04.04.0
IBMIBM watsonx.data Gluten-accelerated Spark engine (Premium Edition 2.4.x)Apache Spark 4.0Apache Spark 4.04.0
IBMIBM watsonx.data Spark engine (Premium Edition 2.4.x)Apache Spark 4.0.0Apache Spark 4.0.04.0.0
ClouderaCloudera Runtime (Cloudera Base on premises / Data Hub on cloud)Cloudera Runtime 7.3.33.5.8.7.3.3.0-563.5.8
AWSAmazon Athena for Apache SparkApache Spark version 3.53.5.63.5.6
MicrosoftAzure Synapse Analytics Apache Spark poolsAzure Synapse Runtime for Apache Spark 3.53.5.53.5.5
ClouderaCloudera Data Engineering (Cloudera Data Services on premises)Spark 3.5.4 (CDE 1.27.0 / Data Services 1.5.5 SP4)Spark 3.5.43.5.4
ClouderaCloudera Data Engineering (Cloudera on cloud)Spark 3.5.4 (CDE 1.26.2, Data Lake 7.3.1 / 7.3.2)Spark 3.5.43.5.4
SnowflakeSnowpark Connect for Sparksnowpark-connect 1.51.0 (PySpark 3.5.3 Spark Connect API)PySpark 3.5.3 Spark Connect API3.5.3
Google CloudManaged Service for Apache Spark on GKE (formerly Dataproc on GKE)Spark engine 3.5-dataproc-283.53.5
OracleOCI Data FlowSpark 3.5.03.5.03.5.0
MicrosoftAzure HDInsight (Spark clusters)HDInsight 5.13.3.13.3.1
Google CloudBigQuery stored procedures for Apache SparkNo version publishednot statednot stated
DatabricksDatabricks SQL warehousesNo version publishednot statednot stated
Google CloudSpark in BigQuery Studio notebooksNo version publishednot statednot stated

Retired services, where every runtime is end of life or deprecated, are left out of the matrix and kept in the explorer: Azure HDInsight on AKS (Spark).

How to use it

Use the matrix to check a managed runtime before you depend on a feature: find the runtime, read its Apache Spark base, then open the cell for the feature to see the vendor quotation or the Apache source location behind it. To move a workload between platforms, compare the same feature row across the runtimes you are considering. A weekly refresh workflow reruns the harvester and opens a pull request when Apache release data changes; vendor records are updated from vendor documentation, and each records the date its cited pages were checked.