kgyrtkirk commented on a change in pull request #2738:
URL: https://github.com/apache/hive/pull/2738#discussion_r734334527



##########
File path: ql/src/test/queries/clientpositive/translated_external_rename3.q
##########
@@ -0,0 +1,23 @@
+set 
metastore.metadata.transformer.class=org.apache.hadoop.hive.metastore.MetastoreDefaultTransformer;
+set metastore.metadata.transformer.location.mode=force;
+
+set hive.fetch.task.conversion=none;
+set hive.compute.query.using.stats=false;
+
+create external table t (a integer);
+insert into t values(1);
+alter table t rename to t2;
+
+create table t (a integer);
+insert into t values(2);
+
+select assert_true(count(1) = 2) from t;

Review comment:
       add comment that this problematic case is not handled




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to