hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-14291) count(*) on a table written by hcatstorer returns incorrect result
Date Fri, 22 Jul 2016 18:28:20 GMT

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

Pengcheng Xiong updated HIVE-14291:
-----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

the failures are unrelated. pushed to master and 2.1 thanks for [~ashutoshc]'s review!

> count(*) on a table written by hcatstorer returns incorrect result
> ------------------------------------------------------------------
>
>                 Key: HIVE-14291
>                 URL: https://issues.apache.org/jira/browse/HIVE-14291
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-14291.01.patch, HIVE-14291.02.patch
>
>
> {code}
> count(*) on a table written by hcatstorer returns wrong result. 
> {code}
> steps to repro the issue:
> 1) create hive table
> {noformat}
> create  table ${DEST_TABLE}(name string, age int, gpa float)
>                             row format delimited
>                             fields terminated by '\t'
>                             stored as textfile;
> {noformat}
> 2) load data into table using hcatstorer
> {noformat}
> A = LOAD '$DATA_1' USING PigStorage() AS (name:chararray, age:int, gpa:float);
> B = LOAD '$DATA_2' USING PigStorage() AS (name:chararray, age:int, gpa:float);
> C = UNION A, B;
> STORE C INTO '$HIVE_TABLE'  USING org.apache.hive.hcatalog.pig.HCatStorer();
> {noformat}



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

Mime
View raw message