# Getting Started with the SingleStore Spark Connector

The SingleStore Spark Connector supports SingleStore versions 7.1+. Version support varies for different versions of the connector.

You can download the latest version of SingleStore Spark Connector from [Maven Central](https://search.maven.org/artifact/com.singlestore/singlestore-spark-connector_2.12) or [SparkPackages](https://spark-packages.org/package/memsql/memsql-spark-connector). You can download the source code from its [GitHub](https://github.com/memsql/singlestore-spark-connector) repository. The group is `com.singlestore` and the artifact is `singlestore-spark-connector_<scala_version>`. Refer to the connector’s [Maven Repository](https://mvnrepository.com/artifact/com.singlestore/singlestore-spark-connector) for related information.

The following matrix shows currently supported versions of the connector and their compatibility with different Spark versions:

| Connector version | Supported Spark versions                                                     |
| ----------------- | ---------------------------------------------------------------------------- |
| 5.0.0             | Spark 4.0.0, Spark 3.5.0, Spark 3.4.2, Spark 3.3.4, Spark 3.2.4, Spark 3.1.3 |
| 4.2.2             | Spark 4.0.0, Spark 3.5.0, Spark 3.4.2, Spark 3.3.4, Spark 3.2.4, Spark 3.1.3 |
| 4.2.1             | Spark 4.0.0, Spark 3.5.0, Spark 3.4.2, Spark 3.3.4, Spark 3.2.4, Spark 3.1.3 |
| 4.2.0             | Spark 4.0.0, Spark 3.5.0, Spark 3.4.2, Spark 3.3.4, Spark 3.2.4, Spark 3.1.3 |
| 4.1.10            | Spark 3.5.0, Spark 3.4.2, Spark 3.3.4, Spark 3.2.4, Spark 3.1.3              |
| 4.1.9             | Spark 3.5.0, Spark 3.4.2, Spark 3.3.4, Spark 3.2.4, Spark 3.1.3              |
| 4.1.8             | Spark 3.1, Spark 3.2, Spark 3.3, Spark 3.4, Spark 3.5                        |
| 4.1.7             | Spark 3.1, Spark 3.2, Spark 3.3, Spark 3.4, Spark 3.5                        |
| 4.1.6             | Spark 3.1, Spark 3.2, Spark 3.3, Spark 3.4, Spark 3.5                        |
| 4.1.5             | Spark 3.0, Spark 3.1, Spark 3.2, Spark 3.3, Spark 3.4, Spark 3.5             |
| 4.1.4             | Spark 3.0, Spark 3.1, Spark 3.2, Spark 3.3, Spark 3.4                        |
| 4.1.3             | Spark 3.0, Spark 3.1, Spark 3.2, Spark 3.3                                   |
| 4.1.2             | Spark 3.0, Spark 3.1, Spark 3.2, Spark 3.3                                   |
| 4.1.1             | Spark 3.0, Spark 3.1, Spark 3.2, Spark 3.3                                   |
| 4.1.0             | Spark 3.0, Spark 3.1, Spark 3.2                                              |
| 4.0.x             | Spark 3.0, Spark 3.1, Spark 3.2                                              |
| 3.2.1+            | Spark 3.0, Spark 3.1, Spark 3.2                                              |
| 3.2.0             | Spark 3.0, Spark 3.1                                                         |
| 3.1.3             | Spark 3.0, Spark 3.1                                                         |
| 3.1.0 - 3.1.2     | Spark 3.0                                                                    |

> **📝 Note**: SingleStore recommends using the latest version of the connector compatible with the corresponding Spark version.The SingleStore Spark Connector versions 2.0 and 3.0 are no longer supported.

The connector follows the `x.x.x-spark-y.y.y` naming convention, where `x.x.x` represents the connector version and `y.y.y` represents the corresponding Spark version. For example, in connector `3.0.0-spark-3.2.0`, 3.0.0 is the version of the connector, compiled and tested against Spark version 3.2.0. It is critical to select the connector version that corresponds to the Spark version in use.

## Release Highlights

## Version 5.0.0

* Removed the default server collation configuration.
* Fixed parallel reads from leaf nodes for SingleStore versions 9.0 and later.

## Version 4.2.2

* Restored proper connection closure logic.

## Version 4.2.1

* Fixed a bug related to Databricks compatibility.

## Version 4.2.0

* Added support for Spark 4.0.0.
* Updated Scala version to 2.13 for Spark 4.0.0.

## Version 4.1.8

* Changed retry during reading from result table to use exponential backoff.
* Used `ForkJoinPool` instead of `FixedThreadPool`.
* Added more logging.

## Version 4.1.7

* Fixed a bug that caused reading from the wrong result table when the task was restarted.

## Version 4.1.6

* Changed `LoadDataWriter` to send data in batches.
* Added `numPartitions` parameter to specify the exact number of resulting partitions during parallel read.

## Version 4.1.5

* Added support for Spark 3.5 for connector version 4.1.5.
* Updated dependencies.

## Version 4.1.4

* Added support for Spark 3.4 for connector version 4.1.4.
* Added support for additional connection attributes.
* Fixed conflicts in result table names during parallel read.

## Version 4.1.3

* Improved error handling when using the `onDuplicateKeySQL` option.

## Version 4.1.2

* Fixed an issue where retrying parallel reads caused a `Table has reached its quota of 1 reader(s)` error.

## Version 4.1.1

* Added support for Spark 3.3 for connector version 4.1.1.
* Fixed an issue with error handling that caused deadlocks.

## Version 4.1.0

* Added support for JWT-based authentication.
* Added support for connection pooling.
* Added multi-partition support to parallel read feature.
* Added support for more SQL expressions in pushdown.

## Version 4.0.0

* The connector uses the SingleStore JDBC driver instead of the MariaDB JDBC driver.

## Version 3.2

* Added support for parallel reads from aggregator nodes.
* Added support for repartition results by columns in parallel read from aggregators.

## Version 3.1

* The connector uses the MariaDB JDBC driver and rebranded the connector from `memsql-spark-connector` to `singlestore-spark-connector`.
* Adapts the rebranding from `memsql` to `singlestore`. For example, the configuration prefix is changed from `spark.datasource.memsql.<config_name>` to `spark.datasource.singlestore.<config_name>`.

## Related Topics

* [The SingleStore JDBC Driver](https://docs.singlestore.com/db/v9.1/developer-resources/connect-with-application-development-tools/connect-with-java-jdbc/the-singlestore-jdbc-driver.md)

***

Modified at: April 15, 2026

Source: [/db/v9.1/load-data/integrate-with-singlestore/load-data-from-spark/getting-started/](https://docs.singlestore.com/db/v9.1/load-data/integrate-with-singlestore/load-data-from-spark/getting-started/)

(An index of the documentation is available at /llms.txt)
