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