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

fix(table_fns): make findColumn() able to handle multi-buffer tables #4885

Merged
merged 2 commits into from
Jun 17, 2022

Conversation

wolffcm
Copy link

@wolffcm wolffcm commented Jun 15, 2022

The code for findColumn was not dealing with tables with multiple buffers, and each subsequent buffer would overwrite the answer for the previous. This PR addresses that and adds some more tests.

Fixes #4884.

Done checklist

  • docs/SPEC.md updated (N/A)
  • Test cases written

@wolffcm wolffcm requested review from a team as code owners June 15, 2022 23:57
@wolffcm wolffcm requested review from OfTheDelmer and noramullen1 and removed request for a team June 15, 2022 23:57
@sanderson sanderson requested review from sanderson and removed request for noramullen1 June 16, 2022 15:51
has40: true,
}
got = array.from(rows: [{value: display(v: gotObj)}])
want = array.from(rows: [{value: display(v: wantObj)}])
Copy link
Contributor

Choose a reason for hiding this comment

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

nice!

@wolffcm wolffcm merged commit bd9a26a into master Jun 17, 2022
@wolffcm wolffcm deleted the fix/find-column-multi-buffer branch June 17, 2022 17:44
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.

Wrong answer when input to findColumn is spread across multiple buffers
3 participants