Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/14033
  
    Ah, I see the case. Hive allows NULL. I'll try to support the NULL case. 
Thanks, @cloud-fan .
    ```sql
    hive> select stack(3, 1, 'a', 2, 'b', 3, 'c');
    OK
    1   a
    2   b
    3   c
    
    hive> select stack(3, 1, 'a', 2, 'b', 3, null);
    OK
    1   a
    2   b
    3   NULL
    
    hive> select stack(3, 1, 'a', 2, 'b', 3, 1);
    FAILED: UDFArgumentException Argument 2's type (string) should be equal to 
argument 6's type (int)
    ```


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to