https://docs.databricks.com/en/ingestion/cloud-object-storage/auto-loader/patterns.html#language-pythonyou can enforce the schema or use the "cloudFiles.schemaHints" to override the Inference. df = spark.readStream.format("cloudFiles") \
.option("...