You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/10/22 14:25:44 UTC

[GitHub] [hive] kgyrtkirk commented on a change in pull request #2738: HIVE-25630: Transformer fixes

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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org