Spark-The-Definitive-Guide icon indicating copy to clipboard operation
Spark-The-Definitive-Guide copied to clipboard

Chapter 6 - Working with JSON

Open shanmugavel04 opened this issue 3 years ago • 0 comments

Under working with JSON section in the book it is mentioned as "The equivalent in SQL would be jsonDF.selectExpr("json_tuple(jsonString, '$.myJSONKey.myJSONValue[1]') as column").show(2)" but it is not a SQL syntax at first . could you please check and let us know the equivalent SQL expression of JSON transformation.

shanmugavel04 avatar Jun 09 '21 06:06 shanmugavel04