data-science

Juan José Vázquez Delgado 2026-04-15T17:31:27.566179Z

Hi! I'm just getting started with TMDucken and, to be honest, with TMD in general. The basic examples are working fine, but I've hit a snag with type mapping between the dataset and the table. It seems like TMDucken isn't interpreting :persistent-vector as a LIST type in DuckDB. I assume it should be possible to extend the type mapping, but I'm not sure where to start. Has anyone else run into a similar issue? Thanks! I'm getting the following error:

Execution error (IllegalArgumentException) at tmducken.duckdb/dtype-type->duckdb (duckdb.clj:298).
No matching clause: :persistent-vector
tmducken.duckdb/dtype-type->duckdb (duckdb.clj:298)
clojure.core/mapv (core.clj:6979)
clojure.lang.PersistentVector/reduce (PersistentVector.java:343)
clojure.core/reduce (core.clj:6885)
clojure.core/mapv (core.clj:6970)
tmducken.duckdb/insert-dataset! (duckdb.clj:355)

Harold 2026-04-15T17:38:32.619379Z

https://github.com/techascent/tmducken/issues/40 This is a known gap - it would be great to close.

Juan José Vázquez Delgado 2026-04-16T06:25:37.870519Z

Oh! Thanks I'll check it out.