Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 08:57 PM
Hi @Devarsh Shah The issue is not with json file but the location you are specifying while reading.As suggested by @Werner Stinckens please start using spark API to read the json file as below:
spark.read.format("json").load("testjson")
Please check the path you are providing in the read command if you still face the same issue.
https://docs.databricks.com/data/data-sources/read-json.html