hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhudeep Petwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14615) Temp table leaves behind insert command
Date Thu, 28 Dec 2017 04:22:00 GMT

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

Madhudeep Petwal commented on HIVE-14615:
-----------------------------------------

temp tables are created in genValuesTempTable() function, 
I was thinking of dropping the table using dropTableOrPartitions() func after query successfully
inserts.
Btw have not coded yet. 

> Temp table leaves behind insert command
> ---------------------------------------
>
>                 Key: HIVE-14615
>                 URL: https://issues.apache.org/jira/browse/HIVE-14615
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Chaoyu Tang
>            Assignee: Madhudeep Petwal
>
> {code}
> create table test (key int, value string);
> insert into test values (1, 'val1');
> show tables;
> test
> values__tmp__table__1
> {code}
> the temp table values__tmp__table__1 was resulted from insert into ...values
> and exists until logout the session.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message