[
https://issues.apache.org/jira/browse/HIVE-29278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Butao Zhang updated HIVE-29278:
-------------------------------
Description:
*Replicate functions* was added in HIVE-16145. Its some interfaces can not work
with catalog. Such as:
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/DropDatabaseHandler.java]
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AlterDatabaseHandler.java]
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CreateDatabaseHandler.java]
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/incremental/IncrementalLoadTasksBuilder.java]
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadWork.java]
These interfaces were found in
[HIVE-29177|https://github.com/apache/hive/pull/6088#top] , and you can check
the code blocks which need to add catalog by searching keyword {*}TODO
catalog{*}. We need to add catalog to these interfaces to make this repl
function work with catalog.
was:
*Replicate functions* was added in HIVE-16145. Its some interfaces can not work
with catalog. Such as:
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/DropDatabaseHandler.java]
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AlterDatabaseHandler.java]
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CreateDatabaseHandler.java]
[https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/incremental/IncrementalLoadTasksBuilder.java]
We need to add catalog to these interfaces to make this function work with
catalog.
> Make Replicate functions work with catalog
> ------------------------------------------
>
> Key: HIVE-29278
> URL: https://issues.apache.org/jira/browse/HIVE-29278
> Project: Hive
> Issue Type: Sub-task
> Reporter: Butao Zhang
> Priority: Major
>
> *Replicate functions* was added in HIVE-16145. Its some interfaces can not
> work with catalog. Such as:
> [https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/DropDatabaseHandler.java]
>
> [https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AlterDatabaseHandler.java]
> [https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CreateDatabaseHandler.java]
> [https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/incremental/IncrementalLoadTasksBuilder.java]
> [https://github.com/apache/hive/blob/rel/release-4.1.0/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadWork.java]
>
>
> These interfaces were found in
> [HIVE-29177|https://github.com/apache/hive/pull/6088#top] , and you can check
> the code blocks which need to add catalog by searching keyword {*}TODO
> catalog{*}. We need to add catalog to these interfaces to make this repl
> function work with catalog.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
