-
Notifications
You must be signed in to change notification settings - Fork 2k
[postgres] fix when backfill will scan all table schame which match config #3985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@joyCurry30 i add new pr from #3979 |
StreamSplit streamSplit = (StreamSplit) sourceSplitBase; | ||
// when backfilled, will send specified table schema. | ||
return !StreamSplit.STREAM_SPLIT_ID.equalsIgnoreCase(streamSplit.splitId()) | ||
&& streamSplit.getTableSchemas() != null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is streamSplit.getTableSchemas() != null && streamSplit.getTableSchemas().size() == 1;
needed? Whether !StreamSplit.STREAM_SPLIT_ID.equalsIgnoreCase(streamSplit.splitId())
is enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it can be simple, done.
@loserwang1024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@loserwang1024 please review again.
…onfig ------ remove condition
…onfig ------ remove condition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @leonardBang @ruanhang1993 , WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
@leonardBang how to fix the CI test, the code which have problem is not changed by me |
you can try to rebase to latest master to fix the failed ci tests |
copy pr #3979