You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Steve Yeom (JIRA)" <ji...@apache.org> on 2018/05/19 01:27:00 UTC

[jira] [Commented] (HIVE-19577) CREATE TEMPORARY TABLE LIKE and INSERT generate output format mismatch errors

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

Steve Yeom commented on HIVE-19577:
-----------------------------------

Reproduced with the following lines:
set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;

set metastore.create.as.acid=true;
set hive.default.fileformat=orc;

dfs ${system:test.dfs.mkdir} hdfs:///tmp/cttl;
dfs -copyFromLocal ../../data/files/studenttab10k.txt hdfs:///tmp/cttl/;
dfs -ls hdfs:///tmp/cttl/;

drop table if exists studenttab10k;
create external table studenttab10k(
            name string,
            age int,
            gpa double)
  row format delimited
  fields terminated by '\t'
  stored as textfile
  location 'hdfs:///tmp/cttl';

create temporary table temp1 like studenttab10k;
insert into table temp1 select * from studenttab10k;
select * from temp1;

drop table studenttab10k;
dfs -ls hdfs:///tmp/cttl/;

dfs -rmr hdfs:///tmp/cttl;

> CREATE TEMPORARY TABLE LIKE  and INSERT generate output format mismatch errors
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-19577
>                 URL: https://issues.apache.org/jira/browse/HIVE-19577
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.0.0
>            Reporter: Steve Yeom
>            Assignee: Steve Yeom
>            Priority: Major
>             Fix For: 3.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)