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

Flatten lists of lists instead of using "object" data type in joins #379

Merged
merged 4 commits into from Dec 4, 2020

Conversation

davecap
Copy link
Member

@davecap davecap commented Dec 3, 2020

Handle the case where a join returns a list of lists. Instead of setting the data type to "object", flatten the results. This fixes issues that can come up when migrating the output of the join.

closes #380

Also, preserve annotator_params (specifically pre_annotation_expression) when running a join. This allows keys containing lists of values to be joined.

@davecap davecap marked this pull request as ready for review December 3, 2020 19:43
@davecap davecap requested a review from jsh2134 December 3, 2020 19:44
@davecap davecap merged commit d524569 into master Dec 4, 2020
@davecap davecap deleted the avoid-nested-lists-in-joins branch December 4, 2020 21:15
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.

Don't change data types to object in joins for list fields
2 participants