[ https://issues.apache.org/jira/browse/HIVE-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069164#comment-13069164 ]
Hudson commented on HIVE-2086: ------------------------------ Integrated in Hive-trunk-h0.21 #841 (See [https://builds.apache.org/job/Hive-trunk-h0.21/841/]) HIVE-2086. Add test coverage for external table data loss issue (Jonathan Natkins via cws) cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1149331 Files : * /hive/trunk/data/files/ext_test * /hive/trunk/ql/src/test/queries/clientpositive/create_like.q * /hive/trunk/ql/src/test/results/clientpositive/create_like.q.out * /hive/trunk/data/files/ext_test/test.dat * /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java * /hive/trunk/build-common.xml > Add test coverage for external table data loss issue > ---------------------------------------------------- > > Key: HIVE-2086 > URL: https://issues.apache.org/jira/browse/HIVE-2086 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.7.0 > Environment: Amazon elastics mapreduce cluster > Reporter: Q Long > Assignee: Jonathan Natkins > Fix For: 0.8.0 > > Attachments: HIVE-2086.1.patch, HIVE-2086.2.patch, HIVE-2086.3.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: http://www.atlassian.com/software/jira