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

New array data type in version 0.10.0 can't be returned to R #102

Open
BorgeJorge opened this issue Mar 11, 2024 · 2 comments
Open

New array data type in version 0.10.0 can't be returned to R #102

BorgeJorge opened this issue Mar 11, 2024 · 2 comments
Labels
feature a feature request or enhancement help wanted ❤️ we'd love your help!

Comments

@BorgeJorge
Copy link

BorgeJorge commented Mar 11, 2024

con <- dbConnect(duckdb())
dbGetQuery(con, "select array_value(1,2,3)")
#> Error: rapi_prepare: Unknown column type for prepare: INTEGER[3]
@krlmlr
Copy link
Collaborator

krlmlr commented Mar 21, 2024

Indeed. I had to remove those values from tests_all_types() in 19c9533.

@DavZim
Copy link

DavZim commented Nov 12, 2024

Hi all,
is there something that I can do about this?
We oftentimes use DuckDB as a vector store for Embeddings, and as the name suggests, this involves vectors/arrays.
At the moment we construct the query and insert the values into the query, which is not optimal.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement help wanted ❤️ we'd love your help!
Projects
None yet
Development

No branches or pull requests

3 participants