[ 
https://issues.apache.org/jira/browse/HIVE-15190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15700395#comment-15700395
 ] 

Anthony Hsu commented on HIVE-15190:
------------------------------------

All of the failed tests are flaky tests for which JIRAs have already been filed 
or that I just filed JIRAs for:

* autoColumnStats_4 (HIVE-15286)
* insert_values_orig_table_use_metadata (HIVE-15287)
* acid_bucket_pruning (HIVE-14860)
* orc_ppd_schema_evol_3a (HIVE-14936)
* transform_ppr2 (HIVE-15201)
* join_acid_non_acid (HIVE-15116)
* union_fast_stats (HIVE-15115)
* explainanalyze_2 (HIVE-15084)
* explainanalyze_5 (HIVE-15084)
* explainuser_3 (filed HIVE-15288)
* TestSparkCliDriver (HIVE-15289)

Most of the above tests pass when run individually but fail when run in a batch 
with other tests.

Will cancel and resubmit patch to trigger another PreCommit run to see if test 
failures differ.

> Field names are not preserved in ORC files written with ACID
> ------------------------------------------------------------
>
>                 Key: HIVE-15190
>                 URL: https://issues.apache.org/jira/browse/HIVE-15190
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Anthony Hsu
>            Assignee: Anthony Hsu
>         Attachments: HIVE-15190.1.patch
>
>
> To repro:
> {noformat}
> drop table if exists orc_nonacid;
> drop table if exists orc_acid;
> create table orc_nonacid (a int) clustered by (a) into 2 buckets stored as 
> orc;
> create table orc_acid (a int) clustered by (a) into 2 buckets stored as orc 
> TBLPROPERTIES('transactional'='true');
> insert into table orc_nonacid values(1), (2);
> insert into table orc_acid values(1), (2);
> {noformat}
> Running {{hive --service orcfiledump <file>}} on the files created by the 
> {{insert}} statements above, you'll see that for {{orc_nonacid}}, the files 
> have schema {{struct<a:int>}} whereas for {{orc_acid}}, the files have schema 
> {{struct<operation:int,originalTransaction:bigint,bucket:int,rowId:bigint,currentTransaction:bigint,row:struct<_col0:int>>}}.
>  The last field {{row}} should have schema {{struct<a:int>}}.



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

Reply via email to