You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Adesh Kumar Rao (Jira)" <ji...@apache.org> on 2020/10/15 05:12:00 UTC
[jira] [Created] (HIVE-24277) Temporary table with constraints is
persisted in HMS
Adesh Kumar Rao created HIVE-24277:
--------------------------------------
Summary: Temporary table with constraints is persisted in HMS
Key: HIVE-24277
URL: https://issues.apache.org/jira/browse/HIVE-24277
Project: Hive
Issue Type: Bug
Components: HiveServer2
Affects Versions: 4.0.0
Reporter: Adesh Kumar Rao
Assignee: Adesh Kumar Rao
Fix For: 4.0.0
Run below in a session
{noformat}
0: jdbc:hive2://zk1-nikhil.q5dzd3jj30bupgln50> create temporary table ttemp (id int default 0);
INFO : Compiling command(queryId=hive_20201015050509_99267861-56f7-4940-ae3f-5a895dc3d2cb): create temporary table ttemp (id int default 0)
INFO : Semantic Analysis Completed (retrial = false)
INFO : Returning Hive schema: Schema(fieldSchemas:null, properties:null)
INFO : Completed compiling command(queryId=hive_20201015050509_99267861-56f7-4940-ae3f-5a895dc3d2cb); Time taken: 0.625 seconds
INFO : Executing command(queryId=hive_20201015050509_99267861-56f7-4940-ae3f-5a895dc3d2cb): create temporary table ttemp (id int default 0)
INFO : Starting task [Stage-0:DDL] in serial mode
INFO : Completed executing command(queryId=hive_20201015050509_99267861-56f7-4940-ae3f-5a895dc3d2cb); Time taken: 4.02 seconds
INFO : OK
No rows affected (5.32 seconds)
{noformat}
Running "show tables" in another session will return that temporary table in output
{noformat}
0: jdbc:hive2://zk1-nikhil.q5dzd3jj30bupgln50> show tables
. . . . . . . . . . . . . . . . . . . . . . .> ;
INFO : Compiling command(queryId=hive_20201015050554_7882c055-f084-4919-9a18-800d3fe4dcf7): show tables
INFO : Semantic Analysis Completed (retrial = false)
INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:tab_name, type:string, comment:from deserializer)], properties:null)
INFO : Completed compiling command(queryId=hive_20201015050554_7882c055-f084-4919-9a18-800d3fe4dcf7); Time taken: 0.065 seconds
INFO : Executing command(queryId=hive_20201015050554_7882c055-f084-4919-9a18-800d3fe4dcf7): show tables
INFO : Starting task [Stage-0:DDL] in serial mode
INFO : Completed executing command(queryId=hive_20201015050554_7882c055-f084-4919-9a18-800d3fe4dcf7); Time taken: 0.057 seconds
INFO : OK
+------------------+
| tab_name |
+------------------+
| ttemp |
+------------------+
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)