You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Venkata Subramaniam (Jira)" <ji...@apache.org> on 2022/01/10 19:12:00 UTC

[jira] [Created] (SPARK-37857) Any depth search not working in get_json_object ($..foo)

Venkata Subramaniam created SPARK-37857:
-------------------------------------------

             Summary: Any depth search not working in get_json_object ($..foo)
                 Key: SPARK-37857
                 URL: https://issues.apache.org/jira/browse/SPARK-37857
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Venkata Subramaniam


The following example should return a value _abc_ but instead returns null
{code:java}
spark.sql("""select get_json_object('{"k":{"value":"abc"}}', '$..value') as j""").show()
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org