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

RN-702: Re-instate excluding columns when using the 'exclude' merge function #4248

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

rohan-bes
Copy link
Collaborator

Issue RN-702:

Just re-introducing some behaviour that got removed as part of RN-175.

Also scrapped the where clause support on mergeRows, as it's never been used and makes the code more complex than needed

- It was never used in practice, and made the code more complex
@rohan-bes rohan-bes force-pushed the rn-702-reinstate-exclude-cols branch from a250dd8 to d4b4c58 Compare January 10, 2023 02:23
@@ -121,31 +121,6 @@ describe('parser', () => {
});

describe('in transforms', () => {
it('mergeRows supports parser lookups on where', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need a new test for mergeStrategy = exclude?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah good call! I'll re-add them, thanks 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah wait sorry, we do actually have the test for exclude removing the columns from the table

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah cool

@rohan-bes rohan-bes requested a review from IgorNadj January 10, 2023 04:34
@rohan-bes rohan-bes merged commit 301e3b9 into dev Jan 10, 2023
@rohan-bes rohan-bes deleted the rn-702-reinstate-exclude-cols branch January 10, 2023 05:05
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