Registry / database / spark-sql-2-11

spark-sql-2-11

JSON →
library2.4.8javamavenunverified

Apache Spark SQL is a module for structured data processing using SQL queries and DataFrames, part of the Apache Spark framework.

<dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-sql_2.11</artifactId> <version>2.4.8</version> </dependency>
INSTALL
IMPORT
SIG · SPARK-SQL-2-11
S
spark-sql-2-11
databasejavav2.4.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SparkSession
org.apache.spark.sql.SparkSession

Creates a SparkSession and runs a simple SQL query.

import org.apache.spark.sql.SparkSession; public class Example { public static void main(String[] args) { SparkSession spark = SparkSession.builder() .appName("Example") .master("local[*]") .getOrCreate(); spark.sql("SELECT 1").show(); spark.stop(); } }
Debug
Known issues
breakingThis artifact is for Scala 2.11, which is outdated; Spark 2.4.x is the last version supporting Scala 2.11.
fix
Upgrade to Spark 3.x with Scala 2.12 or 2.13 for better performance and support.
affects: *
Upgrade
Version history
2.4.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Meta
1
Amazon
1
Resources
spark-sql-2-11 — mvn dependency:get spark-sql-2-11 · libregistry