hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HIVE-14055) directSql - getting the number of partitions is broken
Date Sun, 19 Jun 2016 18:32:05 GMT

    [ 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)

Mime
View raw message