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

python get_as_arrow api error #2037

Closed
acquamarin opened this issue Sep 15, 2023 · 3 comments · Fixed by #2055
Closed

python get_as_arrow api error #2037

acquamarin opened this issue Sep 15, 2023 · 3 comments · Fixed by #2055

Comments

@acquamarin
Copy link
Collaborator

When calling get_as_arrow api on the query result, the following error message is thrown:
/Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp/src/arrow/c/helpers.h:64:: ArrowSchemaRelease did not cleanup release callback[1]

@benjaminwinger
Copy link
Collaborator

Was this with or without #2019? Before that change the schema release function was broken and was always leaking data.

@acquamarin
Copy link
Collaborator Author

Just double checked the leak still exists on master.

@benjaminwinger
Copy link
Collaborator

Ok. I think the problem is probably with my workaround to avoid creating a new schema for each record batch (here). As far as I could tell it wasn't keeping any of the schema data, but I could have been mistaken (and that does explain why it was releasing it in the first place).

Do you know a way of reproducing the error? It's not showing up in our tests.

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 a pull request may close this issue.

2 participants