maheshk114 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_r379896300
##########
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:
better to append Path.SEPARATOR after _functions for check
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]