Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/21581
  
    BTW, I found the other 3 similar issues there;
    ```
    scala> Seq((Seq(1, 2, 3), 2)).toDF("a", "b").selectExpr("array_position(a, 
b)").show
    +--------------------+
    |array_position(a, b)|
    +--------------------+
    |                   2|
    +--------------------+
    
    scala> Seq((Seq(1, 2, 3), 2)).toDF("a", "b").selectExpr("element_at(a, 
b)").show
    +----------------+
    |element_at(a, b)|
    +----------------+
    |               2|
    +----------------+
    
    scala> Seq((Seq(1, 2, 3), 2)).toDF("a", "b").selectExpr("array_remove(a, 
b)").show
    +------------------+
    |array_remove(a, b)|
    +------------------+
    |            [1, 3]|
    +------------------+
    ```
    I think this is a tiny fix, so IMHO this pr might need to address all the 
issues here. cc: @ueshin 


---

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

Reply via email to