azexcy commented on code in PR #28356:
URL: https://github.com/apache/shardingsphere/pull/28356#discussion_r1315329042


##########
kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/common/job/progress/JobItemInventoryTasksProgress.java:
##########
@@ -43,7 +43,7 @@ public final class JobItemInventoryTasksProgress {
      * @return inventory position
      */
     public Map<String, IngestPosition> getInventoryPosition(final String 
tableName) {
-        Pattern pattern = Pattern.compile(String.format("%s(#\\d+)?", 
tableName));
+        Pattern pattern = Pattern.compile(String.format("\\.%s#(\\d+)?", 
tableName));

Review Comment:
   If using `InventoryTaskSplitter`, the shardingItem wouldn't be null, 
scenario not found where shardingItem is null, so I change Integer to int



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