Text Files

    Find full example code at “examples/src/main/scala/org/apache/spark/examples/sql/SQLDataSourceExample.scala” in the Spark repo.

    Find full example code at “examples/src/main/python/sql/datasource.py” in the Spark repo.

    • OPTIONS clause at

    Other generic options can be found in Generic File Source Options.