Steve Kass
0
Q:

Read JSON files with automatic schema inference

# Read JSON files with automatic schema inference

df = spark.read.json("logs.json")
df.where("age > 21").select("name.first").show()
0

New to Communities?

Join the community