nsivabalan commented on code in PR #7077:
URL: https://github.com/apache/hudi/pull/7077#discussion_r1009643233


##########
hudi-sync/hudi-sync-common/src/main/java/org/apache/hudi/sync/common/util/SyncUtilHelpers.java:
##########
@@ -69,6 +71,10 @@ static HoodieSyncTool instantiateMetaSyncTool(String 
syncToolClassName,
     properties.putAll(props);
     properties.put(HoodieSyncConfig.META_SYNC_BASE_PATH.key(), targetBasePath);
     properties.put(HoodieSyncConfig.META_SYNC_BASE_FILE_FORMAT.key(), 
baseFileFormat);
+    String tableName = 
properties.getString(HoodieSyncConfig.META_SYNC_TABLE_NAME.key());
+    if (!tableName.equals(tableName.toLowerCase())) {
+      LOG.warn("Table name \"" + tableName + "\" contains capital letters. 
Your metastore may auto convert this to lowercase and cause table not found 
errors.");

Review Comment:
   minor. 
   ```
   .... convert this to lower case and can cause table not found errors during 
subsequent syncs"
   ```
   



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to