I would like to read a csv-file from s3 (s3://test-bucket/testkey.csv) as a spark dataframe using pyspark. My cluster runs on spark 2.4.
I don't need to take any infer_schema, credentials a.o.t. into account. And the csv-file is not to be crawled as a glue table.
Could you please paste your pyspark code that is based on spark session and converts to csv to a spark dataframe here?
Many thanks in advance and best regards