spark write to s3 code example Example: write file in s3 from spark scala df_sample.write.parquet("s3a://dev-env-data/test-data/sample_data-parquet")