You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "e-mhui (via GitHub)" <gi...@apache.org> on 2023/07/18 09:16:07 UTC

[GitHub] [inlong] e-mhui commented on a diff in pull request #8559: [INLONG-8558][Sort] Use database name in upper case at the OracleTableSourceFactory

e-mhui commented on code in PR #8559:
URL: https://github.com/apache/inlong/pull/8559#discussion_r1266486159


##########
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/oracle-cdc/src/main/java/org/apache/inlong/sort/cdc/oracle/table/OracleTableSourceFactory.java:
##########
@@ -77,6 +78,8 @@ public DynamicTableSource createDynamicTableSource(Context context) {
         String username = config.get(USERNAME);
         String password = config.get(PASSWORD);
         String databaseName = config.get(DATABASE_NAME);
+        checkNotNull(databaseName);
+        databaseName = databaseName.toUpperCase();

Review Comment:
   Add comments, pls review it.



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org