Skip to content
RED SAGSkills
easy5 pts · first answer countssparkspark-schema

Cost of inferSchema on CSV

A job reads a 200 GB CSV folder with inferSchema set to true. Why is this slower than giving a schema?

df = spark.read.option("header", True).option("inferSchema", True).csv("s3://raw/orders/")
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions