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

    https://github.com/apache/spark/pull/15532#discussion_r84004039
  
    --- Diff: sql/core/src/test/resources/sql-tests/results/array.sql.out ---
    @@ -124,8 +124,23 @@ struct<sort_array(boolean_array, 
true):array<boolean>,sort_array(tinyint_array,
     -- !query 8 output
     [true]     [1,2]   [1,2]   [1,2]   [1,2]   
[9223372036854775808,9223372036854775809]       [1.0,2.0]       [1.0,2.0]       
[2016-03-13,2016-03-14] [2016-11-12 20:54:00.0,2016-11-15 20:54:00.0]
     
    -
     -- !query 9
    +select sort_array(array('b', 'd'), '1')
    +-- !query 9 schema
    +struct<>
    +-- !query 9 output
    +org.apache.spark.sql.AnalysisException
    +cannot resolve 'sort_array(array('b', 'd'), '1')' due to data type 
mismatch: Sort order in second argument of sort_array() requires boolean type 
as non-null, however, it is ''1'' as string type.; line 1 pos 7
    --- End diff --
    
    Thank you for confirming @tejasapatil 


---
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