From issues-return-159467-archive-asf-public=cust-asf.ponee.io@hive.apache.org Thu Jun 6 08:58:01 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8621C18062B for ; Thu, 6 Jun 2019 10:58:01 +0200 (CEST) Received: (qmail 27797 invoked by uid 500); 6 Jun 2019 08:58:01 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 27785 invoked by uid 99); 6 Jun 2019 08:58:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2019 08:58:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 61DC0E2D21 for ; Thu, 6 Jun 2019 08:58:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 212B22459C for ; Thu, 6 Jun 2019 08:58:00 +0000 (UTC) Date: Thu, 6 Jun 2019 08:58:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-21762) REPL DUMP to support new format for replication policy input to take included tables list. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-21762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated HIVE-21762: ---------------------------------- Labels: DR Replication pull-request-available (was: DR Replication) > REPL DUMP to support new format for replication policy input to take included tables list. > ------------------------------------------------------------------------------------------ > > Key: HIVE-21762 > URL: https://issues.apache.org/jira/browse/HIVE-21762 > Project: Hive > Issue Type: Sub-task > Components: repl > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Priority: Major > Labels: DR, Replication, pull-request-available > Attachments: HIVE-21762.01.patch, HIVE-21762.02.patch > > > - REPL DUMP syntax: > {code} > REPL DUMP [FROM WITH ; > {code} > - New format for the Replication policy have 3 parts all separated with Dot (.). > 1. First part is DB name. > 2. Second part is included list. Comma separated table names/regex with in square brackets[]. If square brackets are not there, then it is treated as single table replication which skips DB level events. > 3. Third part is excluded list. Comma separated table names/regex with in square brackets[]. > {code} > -- Full DB replication which is currently supported > .[] - Full DB replication > .['*'] - Full DB replication > .t1 -- Single table replication (DB events excluded) which is currently supported > .['t1', 't2'] -- DB replication with static list of tables t1 and t2 included. > .['t1*', 't2', '*t3'].['t100', '5t3', 't4'] -- DB replication with all tables having prefix t1, with suffix t3 and include table t2 and exclude t100 which has the prefix t1, 5t3 which suffix t3 and t4. > {code} > - Need to support regular expression of any format. > - A table is included in dump only if it matches the regular expressions in included list and doesn't match the excluded list. -- This message was sent by Atlassian JIRA (v7.6.3#76005)