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 2020/02/14 13:13:00 UTC

[jira] [Work logged] (HIVE-22890) Repl load tries to load function if table name contains _function

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

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

                Author: ASF GitHub Bot
            Created on: 14/Feb/20 13:12
            Start Date: 14/Feb/20 13:12
    Worklog Time Spent: 10m 
      Work Description: aasha commented on pull request #913: HIVE-22890 Fix replication of tables with _functions in the tablename
URL: https://github.com/apache/hive/pull/913
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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

> Repl load tries to load function if table name contains _function
> -----------------------------------------------------------------
>
>                 Key: HIVE-22890
>                 URL: https://issues.apache.org/jira/browse/HIVE-22890
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Aasha Medhi
>            Assignee: Aasha Medhi
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Repl load tries to load function if table name contains _function. Similarly for the below contants
> {code:java}
> public static final String FUNCTIONS_ROOT_DIR_NAME = "_functions";
> public static final String CONSTRAINTS_ROOT_DIR_NAME = "_constraints";
> public static final String INC_BOOTSTRAP_ROOT_DIR_NAME = "_bootstrap";
> public static final String REPL_TABLE_LIST_DIR_NAME = "_tables";
> {code}
> The code just checks for contains(FUNCTIONS_ROOT_DIR_NAME). So even if any table or db name contains _functions, it takes the Function Load flow. Similarly for contraints etc.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)