Overview of the Polaris Spark Plugin
mainThe Polaris Spark plugin provides a SparkCatalog class that enables Apache Spark to communicate with Polaris REST endpoints. It implements Spark's TableCatalog, ViewCatalog, and SupportsNamespaces interfaces.
Key Capabilities
- Multi-format Support: The client manages both Iceberg and Delta tables. It automatically routes Iceberg requests to Iceberg REST endpoints and Delta requests to Generic Table REST endpoints.
- Compatibility:
- Spark 3.5: Supports Scala 2.12 and 2.13.
- Spark 4.0: Supports Scala 2.13.
- Delta Requirements:
- For Spark 3.5: Requires
delta>= 3.2.1. - For Spark 4.0: Requires
delta>= 4.2.0.
- For Spark 3.5: Requires