spark.sql("""select get_json_object('{"k":{"value":"abc"}}', '$.*.value') as j""").show()
This results in null while it should return 'abc'. It works if I replace * with k.
I'm aware of limited JSONPath support (https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-get_json_object)
but is there a way to achieve this is Spark SQL.