You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aasha Medhi (Jira)" <ji...@apache.org> on 2020/02/14 12:32:00 UTC

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

Aasha Medhi created HIVE-22890:
----------------------------------

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


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)