You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2019/06/10 02:42:29 UTC

[GitHub] [hive] maheshk114 commented on a change in pull request #664: HIVE-21762: REPL DUMP to support new format for replication policy input to take included tables list.

maheshk114 commented on a change in pull request #664: HIVE-21762: REPL DUMP to support new format for replication policy input to take included tables list.
URL: https://github.com/apache/hive/pull/664#discussion_r291583200
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/Utils.java
 ##########
 @@ -88,18 +89,24 @@ public static void writeOutput(List<String> values, Path outputFile, HiveConf hi
   public static Iterable<String> matchesTbl(Hive db, String dbName, String tblPattern)
       throws HiveException {
     if (tblPattern == null) {
-      return getAllTables(db, dbName);
+      return getAllTables(db, dbName, null);
     } else {
       return db.getTablesByPattern(dbName, tblPattern);
     }
   }
 
-  public static Collection<String> getAllTables(Hive db, String dbName) throws HiveException {
+  public static Iterable<String> matchesTbl(Hive db, String dbName, ReplScope replScope)
 
 Review comment:
   ReplScope has db name why pass it separately ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org