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

    https://github.com/apache/spark/pull/22013#discussion_r210162501
  
    --- Diff: 
sql/core/src/test/resources/sql-tests/inputs/higher-order-functions.sql ---
    @@ -51,3 +51,17 @@ select exists(ys, y -> y > 30) as v from nested;
     
     -- Check for element existence in a null array
     select exists(cast(null as array<int>), y -> y > 30) as v;
    +                                                                         
    +create or replace temporary view nested as values
    +  (1, map(1,1,2,2,3,3)),
    +  (2, map(4,4,5,5,6,6))
    --- End diff --
    
    nit:
    
    ```
      (1, map(1, 1, 2, 2, 3, 3)),
      (2, map(4, 4, 5, 5, 6, 6))
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to