-
Notifications
You must be signed in to change notification settings - Fork 21
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
Surface error more clearly for push_validity
#202
Comments
Thanks a lot for the report! The error messages are definitely something to improve. If you have a concrete example, it would be quite helpful, so I can directly include it in the test suite. |
I worked around the issue I encountered by mapping my schema directly, but basically the issue is that if tracing determines the schema incorrectly, there's not really a good way to determine what about the inferred schema clashes with your data that you're trying to push. You can either encounter this issue or one of the panics on the SimpleSerializer for unimplemented methods. |
My current plan is to include the relevant fields (and potentially other metadata) in the error message, e.g.,
Would this have helped? |
Yeah something like that would help immensely |
Released with 0.12.0 |
When this function panics, it's not clear exactly what is being pushed that violates its invariants. Ideally you'd see what arrow field is failing and what the data looks like.
The text was updated successfully, but these errors were encountered: