Pacific-Design.com

    
Home Index

1. Spark

2. JSON

Spark / JSON /

Spark SQL


context.jsonFile("s3n://...").registerTempTable("json")

results = context.sql(
  """SELECT *
     FROM people
     JOIN json ...""")