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
library(taxadb)
td_create("col", overwrite=TRUE)
#> Error: rapi_startup: Failed to open database: Serialization Error: Attempting to read a required field, but field is missing
thanks for reporting. to be specific, this problem appears to be related to some change in how overwrite interacts with a database created by an older version of duckdb when you have upgraded duckdb (? i think).
If you try this with an empty taxadb dir, or just nuke your taxadb dir first, I think it should work?
Will have to think of a better workflow for this. in general the update / backwards compatibility with duckdb is an issue. (duckdb usually warns about this, but I think the latest duckdb release was intended to be backward compatible; though maybe not entirely?)
Longer term, I'd like to switch to a parquet-backed store, which means we could skip the whole import process and also not have to worry about backward-compatibility with duckdb's versions. Ideally we'll be able to do this using direct remote support, so users could even opt out of the download step! (though for most use cases that would probably not be the most performant choice) but haven't gotten around to it...
td_create()
seems to be broken at the moment:Created on 2022-07-11 by the reprex package (v2.0.1)
Session info
The text was updated successfully, but these errors were encountered: