You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aasha Medhi (Jira)" <ji...@apache.org> on 2020/02/14 13:14:00 UTC
[jira] [Updated] (HIVE-22890) Repl load fails if table name
contains _function
[ https://issues.apache.org/jira/browse/HIVE-22890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aasha Medhi updated HIVE-22890:
-------------------------------
Summary: Repl load fails if table name contains _function (was: Repl load tries to load function if table name contains _function)
> Repl load fails 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
> Attachments: HIVE-22890.patch
>
> 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)