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 column order issue in cast #684

Merged
merged 1 commit into from Sep 29, 2020
Merged

Conversation

lhoestq
Copy link
Member

@lhoestq lhoestq commented Sep 29, 2020

Previously, the order of the columns in the features passes to cast_ mattered.
However even though features passed to cast_ had the same order as the dataset features, it could fail because the schema that was built was always in alphabetical order.
This issue was reported by @lewtun in #623

To fix that I fixed the schema to follow the order of the arrow table columns.
I also added the possibility to give features that are not ordered the same way as the dataset features.

@lhoestq lhoestq merged commit 6700f37 into master Sep 29, 2020
@lhoestq lhoestq deleted the fix-column-order-issue-in-cast branch September 29, 2020 15:56
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.

None yet

1 participant