feat(low code cdk): add path to filter interpolation in AddFields condition#454
Conversation
|
/autofix
|
📝 WalkthroughWalkthroughThe pull request updates the Changes
Sequence Diagram(s)sequenceDiagram
participant C as Client
participant AF as AddFields
participant FI as FilterInterpolator
C->>AF: Call transform(record, parsed_field, ...)
AF->>FI: eval(value, kwargs, path=parsed_field.path)
FI-->>AF: Return condition result (true/false)
alt Condition True
AF->>AF: Add new field to record
else Condition False
AF->>AF: Record remains unchanged
end
AF-->>C: Return updated record
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Maxime Carbonneau-Leclerc (maxi297)
left a comment
There was a problem hiding this comment.
![]()
What
Needed for mixpanel dynamic schemas airbytehq/airbyte#55189
When stream has static fields in schema, they should be added only when dynamic schema doesn't have these fields in it.
How
To check if field already exists in schema a condition in AddFields transformation can be used, but now it doesn't have path value in interpolation arguments.
Added
path=parsed_field.pathto_filter_interpolator.eval.Summary by CodeRabbit