Hi Harshit Chandani,
Thanks for reaching out to Microsoft Q&A.
This error suggests that the delta.schema.autoMerge.enabled configuration setting is not recognized.
- First, try using spark.conf.set("spark.databricks.delta.schema.autoMerge.enabled", True) (OR) spark.conf.set("spark.databricks.delta.schema.autoMerge.enabled", "True") and not spark.conf.set("spark.databricks.delta.schema.autoMerge.enabled", "true")
- Check if there are any typos or extra space in the configuration parameters.
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.