[
https://issues.apache.org/jira/browse/HIVE-14055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338672#comment-15338672
]
Sergio Peña commented on HIVE-14055:
------------------------------------
[~sershe] what if instead of return null we return a -1?
I like to avoid null values in case a future developer uses the method without
validating the null causing NPE exceptions.
> directSql - getting the number of partitions is broken
> ------------------------------------------------------
>
> Key: HIVE-14055
> URL: https://issues.apache.org/jira/browse/HIVE-14055
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Attachments: HIVE-14055.patch
>
>
> Noticed while looking at something else. If the filter cannot be pushed down
> it just returns 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)