You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/21 07:21:01 UTC
[jira] [Updated] (HIVE-24277) Temporary table with constraints is persisted in HMS
[ https://issues.apache.org/jira/browse/HIVE-24277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis updated HIVE-24277:
---------------------------------------
Fix Version/s: (was: 4.0.0)
I cleared the fixVersion field since this ticket is still open. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED.
According to the [JIRA guidelines|https://cwiki.apache.org/confluence/display/Hive/HowToContribute] the fixVersion should be set only when the issue is resolved/closed.
> 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
> Priority: Major
>
> 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.20.10#820010)