You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/09 07:40:00 UTC

[jira] [Work logged] (HIVE-26016) Remove duplicate table exists check in create_table_core api of HMSHandler

     [ https://issues.apache.org/jira/browse/HIVE-26016?focusedWorklogId=738584&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-738584 ]

ASF GitHub Bot logged work on HIVE-26016:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Mar/22 07:39
            Start Date: 09/Mar/22 07:39
    Worklog Time Spent: 10m 
      Work Description: wecharyu opened a new pull request #3085:
URL: https://github.com/apache/hive/pull/3085


   
   ### What changes were proposed in this pull request?
   Currently the `create_table_core` api will check if table exists twice, we can remove the second check.
   
   
   ### Why are the changes needed?
   For code improvement.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   
   ### How was this patch tested?
   Just remove duplicated code, no additional tests are introduced.
   
   


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


Issue Time Tracking
-------------------

            Worklog Id:     (was: 738584)
    Remaining Estimate: 0h
            Time Spent: 10m

> Remove duplicate table exists check in create_table_core api of HMSHandler
> --------------------------------------------------------------------------
>
>                 Key: HIVE-26016
>                 URL: https://issues.apache.org/jira/browse/HIVE-26016
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>            Reporter: Yu Weiqiang
>            Assignee: Yu Weiqiang
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently create_table_core() will check if table exists before opening transaction, it does not need to check again after opening transaction, can remove the unnecessary check code.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)