Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18930#discussion_r133817184
  
    --- Diff: sql/core/src/test/resources/sql-tests/inputs/json-functions.sql 
---
    @@ -20,3 +20,9 @@ select from_json('{"a":1}', 'a InvalidType');
     select from_json('{"a":1}', 'a INT', named_struct('mode', 'PERMISSIVE'));
     select from_json('{"a":1}', 'a INT', map('mode', 1));
     select from_json();
    +-- json_tuple
    +SELECT json_tuple('{"a" : 1, "b" : 2}', CAST(NULL AS STRING), 'b', 
CAST(NULL AS STRING), 'a');
    +CREATE TEMPORARY VIEW jsonTable(jsonField, a) AS SELECT * FROM VALUES 
('{"a": 1, "b": 2}', 'a');
    +SELECT json_tuple(jsonField, 'b', CAST(NULL AS STRING), a) FROM jsonTable;
    +-- Clean up
    +DROP VIEW IF EXISTS jsonTable;
    --- End diff --
    
    This is not a big deal. Thus, I will merge it when the test can pass. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to