alibaba / alibaba/DataX

从数据库1的分表同步到数据库2的总表,table:正则无法使用,只能用[0-9]是什么原因

Open
#1,755 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

"table": [ "user_[1-9]"]这种写法必须存在user_1、user_2。。。user_9这9张表
如果使用"table": [ "user_*"],不起效
如果使用"table": [ "user_\\d"],不起效
如果使用"table": [ "user_[\\d]"],不起效
如果使用"table": [ "user_'\\d'"],不起效

是不是不支持正则?
版本是2023.03

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the DataX table configuration interprets the reported patterns in version 2023.03. Compare the working `user_[1-9]` form with the non-working `user_*`, `user_\\d`, and related forms. Done means determining whether regular expressions are supported and documenting or correcting the observed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.