-
Notifications
You must be signed in to change notification settings - Fork 609
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
bug(postgres): to_pyarrow
fails with json type
#8318
Comments
to_pyarrow
fails with json type
@cpcloud -- confirmed that this still exists with v. 9.0.0 |
Yep, this is a problem in the postgres |
I think the underlying execute() function also uses to_pyarrow, so effectively the connector is blocked. Is there an alternative that will work? What is the ETA for fixing this? |
You should be able to use something like pa.Table.from_pandas(expr.to_pandas()) If you definitely need a PyArrow Table. |
Not 100% sure what the ETA is. It will probably be in the next release, but no promises :) |
Ok will try that — thank you!
… On Feb 21, 2024, at 11:02 AM, Phillip Cloud ***@***.***> wrote:
Not 100% sure what the ETA is. It will probably be in the next release, but no promises :)
—
Reply to this email directly, view it on GitHub <#8318 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A5HSLR5UIOPIULYAOJDQVLLYUYSBLAVCNFSM6AAAAABDFFFD36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJXGMYTKNRTGY>.
You are receiving this because you authored the thread.
|
Localize custom pyarrow json serialization to snowflake. This custom type doesn't compose well (e.g., inside structs, which aren't directly supported in snowflake anyway) and was causing problems for other backends when trying to convert rows into a struct of the table schema and then into a proper table. Fixes #8318.
What happened?
Hi there -- I'm trying to convert a postgres table to pyarrow and getting this error:
ArrowNotImplementedError: extension
I went into the ibis backend to look at what Ibis thinks the types are, and found this is what it thinks the array types are
And here is the ibis expression:
What version of ibis are you using?
8.0.0
What backend(s) are you using, if any?
Postgres
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: