Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/19683
  
    The sql in the failed test 
`org.apache.spark.sql.hive.execution.HiveUDFSuite.UDTF` looks like:
    
    ```sql
    SELECT udtf_count2(a) FROM (SELECT 1 AS a FROM src LIMIT 3) t
    ```
    The `unrequiredChildOutput` is `ArrayBuffer(a#1287)` first. But as it is a 
literal in fact, the `unrequiredChildOutput` is optimized to `ArrayBuffer(1)` 
later.
    
    



---

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

Reply via email to