zhangjun0x01 commented on PR #1833:
URL: 
https://github.com/apache/incubator-paimon/pull/1833#issuecomment-1682330055

   I test again in hive3.1.3, it is correct. that is very strange
   
   ```
   Flink SQL> CREATE CATALOG paimon_hive_catalog WITH (
   >     'type' = 'paimon',
   >     'metastore' = 'hive',
   >     'uri' = 'thrift://localhost:9083',
   >     'warehouse' = 'hdfs://localhost/user/hive/warehouse'
   > );
   > 
   [INFO] Execute statement succeed.
   
   Flink SQL> use catalog paimon_hive_catalog;
   [INFO] Execute statement succeed.
   
   
   Flink SQL> create database db6;
   [INFO] Execute statement succeed.
   
   Flink SQL> use db6;
   [INFO] Execute statement succeed.
   
   Flink SQL> create table t1(id int);
   [INFO] Execute statement succeed.
   
   Flink SQL> show tables;
   +------------+
   | table name |
   +------------+
   |         t1 |
   +------------+
   1 row in set
   
   Flink SQL> alter table t1 rename to t2;
   [INFO] Execute statement succeed.
   
   Flink SQL> show tables;
   +------------+
   | table name |
   +------------+
   |         t2 |
   +------------+
   1 row in set
   
   Flink SQL> show create table t2;
   
+------------------------------------------------------------------------------------------------------------------------------------+
   |                                                                            
                                                 result |
   
+------------------------------------------------------------------------------------------------------------------------------------+
   | CREATE TABLE `paimon_hive_catalog`.`db6`.`t2` (
     `id` INT
   ) WITH (
     'path' = 'hdfs://localhost/user/hive/warehouse/db6.db/t2'
   )
    |
   
+------------------------------------------------------------------------------------------------------------------------------------+
   1 row in set
   
   ```


-- 
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]

Reply via email to