You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In other words, do they support storing text/blob that has length larger than 2^32 (4GiB)?
If yes, then the type of TEXT should always be LargeUtf8 (and Uft8 is coerced into LargeUft8).
If no, then the type of TEXT should always be Utf8 (and coercion is reversed).
Similar for binary types.
DuckDB kindly answers this question by returning a schema that contain Utf8 when you declare a column as VARCHAR or TEXT.
This means that it might not be possible to store an Arrow in a database. We need an error for that. And we need to indicate that in coerce_type.
The text was updated successfully, but these errors were encountered:
aljazerzen
changed the title
does PostgreSQL and SQLite store Utf8 or LargeUtf8?
can PostgreSQL and SQLite store LargeUtf8?
Feb 22, 2024
In other words, do they support storing text/blob that has length larger than 2^32 (4GiB)?
If yes, then the type of
TEXT
should always beLargeUtf8
(andUft8
is coerced intoLargeUft8
).If no, then the type of
TEXT
should always beUtf8
(and coercion is reversed).Similar for binary types.
DuckDB kindly answers this question by returning a schema that contain
Utf8
when you declare a column asVARCHAR
orTEXT
.This means that it might not be possible to store an Arrow in a database. We need an error for that. And we need to indicate that in
coerce_type
.The text was updated successfully, but these errors were encountered: