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