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 2020/02/16 12:41:43 UTC

[GitHub] [hive] aasha commented on a change in pull request #913: HIVE-22890 Fix replication of tables with _functions in the tablename

aasha commented on a change in pull request #913: HIVE-22890 Fix replication of tables with _functions in the tablename
URL: https://github.com/apache/hive/pull/913#discussion_r379900416
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/DatabaseEventsIterator.java
 ##########
 @@ -170,7 +170,7 @@ public BootstrapEvent next() {
     }
 
     String currentPath = next.toString();
-    if (currentPath.contains(FUNCTIONS_ROOT_DIR_NAME)) {
+    if (currentPath.contains(Path.SEPARATOR + FUNCTIONS_ROOT_DIR_NAME)) {
 
 Review comment:
   I have added it both before and after now. However we are not allowed to create tables starting with _ in hive (like _functions_t1), gives a parse exception.

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