hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (JIRA)" <>
Subject [jira] [Commented] (HIVE-2086) Data loss with external table
Date Tue, 19 Jul 2011 16:51:01 GMT

] commented on HIVE-2086:

This is an automatically generated e-mail. To reply, visit:

(Updated 2011-07-19 16:50:07.742470)

Review request for hive.


The bug was fixed as a part of HIVE-1218, and this diff adds some regression tests for this
particular issue.


Review request for HIVE-2086.  The external parameters were being set, but then being zeroed
out by a call to params.clear(), resulting in an external table that wasn't marked as external.

This addresses bug HIVE-2086.

Diffs (updated)

  build-common.xml b6807fa 
  data/files/ext_test/test.dat PRE-CREATION 
  ql/src/test/org/apache/hadoop/hive/ql/ 6d742e5 
  ql/src/test/queries/clientpositive/create_like.q 3f8e58d 
  ql/src/test/results/clientpositive/create_like.q.out 118235e 



Automated tests added



> Data loss with external table
> -----------------------------
>                 Key: HIVE-2086
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.7.0
>         Environment: Amazon  elastics mapreduce cluster
>            Reporter: Q Long
>            Assignee: Jonathan Natkins
>         Attachments: HIVE-2086.1.patch, HIVE-2086.2.patch, create_like.q.out
> Data loss when using "create external table like" statement. 
> 1) Set up an external table S, point to location L. Populate data in S.
> 2) Create another external table T, using statement like this:
>     create external table T like S location L
>    Make sure table T point to the same location as the original table S.
> 3) Query table T, see the same set of data in S.
> 4) drop table T.
> 5) Query table S will return nothing, and location L is deleted. 

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message