Skip to content

Conversation

@ianmcook
Copy link
Member

This throws an error if the user attempts to create a Table with columns of different lengths. We already had this for RecordBatches but not for Tables.

@github-actions
Copy link

StopIfNotOk(
arrow::r::CollectTableColumns(lst, schema, num_fields, infer_schema, columns));

StopIfNotOk(arrow::r::check_consistent_column_length(columns));
Copy link
Member Author

Choose a reason for hiding this comment

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

I believe this will conflict with #9615 but I believe the resolution is trivial: just insert this line as the second to last line in the new definition of Table__from_dots

Copy link
Member

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

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

Can you rebase and see if the tests complete now?

@nealrichardson
Copy link
Member

Nevermind I see that rebase won't help. I'll merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants