Hisoka-X commented on code in PR #8875:
URL: https://github.com/apache/seatunnel/pull/8875#discussion_r1976812042


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/catalog/TablePath.java:
##########
@@ -65,8 +65,7 @@ public static TablePath of(String fullName, boolean 
schemaFirst) {
         if (paths.length == 3) {
             return of(paths[0], paths[1], paths[2]);
         }
-        throw new IllegalArgumentException(
-                String.format("Cannot get split '%s' to get databaseName and 
tableName", fullName));
+        return of(null, null, fullName);

Review Comment:
   If topic is `test.multiple.point`. It would be convert to 
`database=test,schema=multiple,table=point`. There are different numbers of dot 
that affect the splitting of the content, it's unreasonable.



-- 
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-unsubscr...@seatunnel.apache.org

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

Reply via email to