Read and Write Files or Tables With Spark Scala This section describes how to read and write files or tables with Spark Scala from different programming languages. In this section: Read and Write Files From HDFS Read and Write Tables From Hive Read and Write Tables From Hive With PySpark Read and Write Files From HDFS With Spark Scala