I am facing a weird issue while reading a file from S3. This is what I am doing
val previousDay = spark.read .option("header", "false")