Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2021 03:44 AM
the json is valid. when i tried to write a json file in fs and then read it evrey thing went fine.
dbutils.fs.put("/tmp/test.json", """
{"string":"string1",
"int":1,
"array":[1,2,3],
"dict": {"key": "value1"}}
""", True)
df = spark.read.json('/tmp/test.json')but when tried to read from s3 bucket, or from mount its failed