You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2014/09/15 19:44:34 UTC

[jira] [Updated] (HIVE-8103) Read ACID tables with FetchOperator returns no rows

     [ https://issues.apache.org/jira/browse/HIVE-8103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates updated HIVE-8103:
-----------------------------
    Attachment: HIVE-8103.patch

This patch fixes FetchOperator to always read files recursively if the directory is in ACID format.

This steals some code from HIVE-7812, since I needed the new AcidUtils.isAcid method that was added in that patch.  If that patch is committed before this one this patch will need to be rebased.

> Read ACID tables with FetchOperator returns no rows
> ---------------------------------------------------
>
>                 Key: HIVE-8103
>                 URL: https://issues.apache.org/jira/browse/HIVE-8103
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Critical
>         Attachments: HIVE-8103.patch
>
>
> After inserting records into a table that uses OrcOutputFormat with the transaction manager set to DbTxnManager, {{select count ( * )}} will return the number of rows inserted, while {{select *}} returns nothing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)