- DuckDB 1.2.0 release. Please, read the Announcing DuckDB 1.2.0
- Fixed the isinf/isnan build error on Linux
DuckDB.query(sql)
without parameters can execute multiple SQL statements at onсe.
DuckDB dev team move some core functions to core_functions extension. After installing this release your probably will get the error:
Catalog Error: Scalar Function with name <some function name> is not in the catalog, but it exists in the core_functions extension.
Please try installing and loading the core_functions extension by running:
INSTALL core_functions;
LOAD core_functions;
Alternatively, consider enabling auto-install and auto-load by running:
SET autoinstall_known_extensions=1;
SET autoload_known_extensions=1;
If so then you need to install this extension:
{:ok, _} = Duckdbex.query(conn, "INSTALL core_functions;")
{:ok, _} = Duckdbex.query(conn, "LOAD core_functions;")
Alternatively, consider enabling auto-install and auto-load by running:
{:ok, _} = Duckdbex.query(conn, "SET autoinstall_known_extensions=1;")
{:ok, _} = Duckdbex.query(conn, "SET autoload_known_extensions=1;")