[
https://issues.apache.org/jira/browse/SPARK-17427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15469569#comment-15469569
]
Apache Spark commented on SPARK-17427:
--------------------------------------
User 'adrian-wang' has created a pull request for this issue:
https://github.com/apache/spark/pull/14991
> function SIZE should return -1 when parameter is null
> -----------------------------------------------------
>
> Key: SPARK-17427
> URL: https://issues.apache.org/jira/browse/SPARK-17427
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Adrian Wang
> Priority: Minor
>
> `select size(null)` returns -1 in Hive. In order to be compatible, we need to
> return -1 also.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]