Is there a function similar to split_part, json_extract_scalar?
I am using spark_sql version 3.2.1. Is there a function that can replacesplit_part,json_extract_scalarare not?
- 3598 Views
- 2 replies
- 6 kudos
Latest Reply
pyspark.sql.functions.get_json_object(col, path)[source]Extracts json object from a json string based on json path specified, and returns json string of the extracted json object. It will return null if the input json string is invalid.​
- 6 kudos