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

RecordBatch with_schema's error message is hard to read #5227

Closed
shuoli84 opened this issue Dec 20, 2023 · 1 comment · Fixed by #5228
Closed

RecordBatch with_schema's error message is hard to read #5227

shuoli84 opened this issue Dec 20, 2023 · 1 comment · Fixed by #5228
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog

Comments

@shuoli84
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

If the schema is relative large (tens of fields), then the error message is

Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} is not a superset of Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...}

This is not that helpful.

Describe the solution you'd like
Change it to something like

target schema is not superset of current schema target=Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} current=Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...} Field {...}
@shuoli84 shuoli84 added the enhancement Any new improvement worthy of a entry in the changelog label Dec 20, 2023
@tustvold tustvold added the arrow Changes to the arrow crate label Jan 5, 2024
@tustvold
Copy link
Contributor

tustvold commented Jan 5, 2024

label_issue.py automatically added labels {'arrow'} from #5228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants