Skip to content
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

@W-17440435: Filter default records during INSERT for SELECT action #3865

Closed
wants to merge 1 commit into from

Conversation

aditya-balachander
Copy link
Contributor

W-17440435

Changes:

  • Added a pre-step to the select_post_process where any default records (defined in hardcoded_default_declarations.py) present in the local SQL are removed if no user_filter is provided.

Reason for the condition: The default records are included during selection from the target org when a user_filter is provided. Therefore, default records should only be excluded from the local SQL when they are also excluded during the selection process, which occurs only when no user_filter is specified.

Copy link
Contributor

@lakshmi2506 lakshmi2506 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aditya-balachander can you please check the behavior for the records in lookup with the default records, because it will replaced with an empty string with the present behavior I guess.

@aditya-balachander
Copy link
Contributor Author

@lakshmi2506 since I cannot complete the WI, have assigned the WI to @mjawadtp and closing this WI since the new approach is entirely different

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants