[
https://issues.apache.org/jira/browse/HIVE-14055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340243#comment-15340243
]
Sergio Peña commented on HIVE-14055:
------------------------------------
What about throwing a checked exception? I agree with you of invalid values. I
see that a NULL value can be returned in case the filter couldn't be formed
correctly. If NULL means an error, then a checked exception should be better
handled by developers, shouldn't it?
> 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)