-
Notifications
You must be signed in to change notification settings - Fork 260
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
[ARCTIC-1171][FLINK] When reading partial fields from Logstore, the number of fields does not match #1172
Conversation
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.
@lklhdu Generally speaking, this patch is ok, there is a small place that needs to modify.
@@ -150,6 +162,14 @@ protected LogPulsarSource createPulsarSource() { | |||
projectedSchema = new Schema(Arrays.stream(valueProjection).mapToObj(columns::get).collect(Collectors.toList())); | |||
} | |||
|
|||
if (projectedFields != 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.
How about abstracting the common logic to a private method?
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
…umber of fields does not match (#1172) LogDynamicSource support projected push down.
…umber of fields does not match (apache#1172) LogDynamicSource support projected push down.
Why are the changes needed?
fix #1171
Brief change log
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation