# databricks/spark-csv

CSV Data Source for Apache Spark 1.x

Repository: https://github.com/databricks/spark-csv
Canonical: https://ross.abutalabs.com/products/spark-csv
Homepage: http://databricks.com/
Language: Scala
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2018-12-13T09:50:29+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4292, "days_push": 2820, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1057, forks 435 (observed 2026-08-28T04:03:24.879599+00:00)

## What it is
A Scala library providing a CSV data source for Apache Spark 1.x, allowing CSV files to be read and queried as Spark SQL DataFrames with configurable parsing options. Its functionality has been inlined into Apache Spark 2.x, so the package is in maintenance mode accepting only critical bug fixes.

## Use cases
- parse csv files as spark dataframes
- query csv data with spark sql
- load csv with custom delimiter and quote characters
- infer column types from csv files
- handle malformed csv rows with permissive or failfast parsing
- read csv files from hdfs or s3 in spark

## When to choose
- you are stuck on Apache Spark 1.x and need CSV support

## When to avoid
- you use Spark 2.x or later, where CSV support is built in
- you need active development or new features

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, serialization, database
- domain: big-data, files, developer-tools
- platform: jvm, cross-platform
- tags: csv, spark, spark-sql, dataframes, apache-spark, deprecated, scala-library, data-engineering

## Member repositories
- databricks/spark-csv (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:24.879599+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:57:56.612388+00:00, confidence not recorded.
  - readme: https://github.com/databricks/spark-csv (fetched 2026-08-28T04:03:24.879599+00:00, sha 786b048b6203)
  - homepage: http://databricks.com/ (fetched 2026-08-29T12:59:32.336070+00:00, sha cb7b033b67a1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
