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] [Updated] (HIVE-22890) Repl load tries to load function if table name contains _function

     [ https://issues.apache.org/jira/browse/HIVE-22890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HIVE-22890:
----------------------------------
    Labels: pull-request-available  (was: )

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