hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <>
Subject [jira] [Commented] (HIVE-14055) directSql - getting the number of partitions is broken
Date Tue, 21 Jun 2016 19:01:58 GMT


Sergio Peña commented on HIVE-14055:

Hey Sergey, sorry I am still against the null value. I was thinking that if a filter push
down couldn't be done, then the method should throw an exception with the reason of that.
While I was running some tests with HIVE-14063, I did a test you mentioned about falling-back
to ORM if direct-sql fails, and ORM also failed but with an exception returned by {{getNumPartitionsViaOrmFilter}}
due to problems with the filter. In this scenario, I could know exactly what the problem was.

In my opinion, I think that we should throw a checked exception in case an internal error
happens, and let the caller decide what to do with it. [~ashutoshc] [~sushanth] what do you
think about this? I'd like to know other opinions.

> directSql - getting the number of partitions is broken
> ------------------------------------------------------
>                 Key: HIVE-14055
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-14055.01.patch, 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

View raw message