DuckDB 1.5 debuts reworked CLI, new VARIANT type, PEG parser, ODBC scanner, and more

DuckDB 1.5 debuts reworked CLI, new VARIANT type, PEG parser, ODBC scanner, and more

DuckDB has released version 1.5, code-named “Variegata”, marking a major update for this in-process SQL OLAP database engine. Among the key features, the command-line interface for terminal users has been fully redesigned, introducing a new color scheme, dynamic prompts, a pager, and various convenience improvements. This makes the CLI both more accessible and efficient for interactive work.

Following this, a new experimental parser based on Parser Expression Grammars (PEG) delivers better query suggestions, improved error messages, and adds support for grammar extensibility via extensions. These parser improvements help developers and advanced users by providing clearer feedback and greater flexibility. In addition, DuckDB now natively supports the VARIANT type. This data type stores typed, binary data with per-row type information, improving both storage compression and query performance compared to the traditional JSON type.

These enhancements are complemented by new workflow capabilities. The read_duckdb table function removes the need to manually attach a database before reading, simplifying access. Users can also write directly to Azure Blob or ADLSv2 storage with the COPY command, broadening cloud integration. Additionally, a new ODBC scanner extension allows direct querying of remote endpoints. Several further changes and enhancements are detailed in the official release notes.

by Paul

MORE ABOUT: #DuckDB
DuckDB iconDuckDB
  8
  • Free
  • Open Source
  • ...

DuckDB is a database management system designed to efficiently handle analytical workloads. Unlike traditional DBMS, DuckDB is optimized for fast, in-process execution, making it suitable for data science and analytical tasks without the overhead of client-server communication. It operates directly within your application, facilitating seamless integration and rapid data processing. It is often compared to SQLite, PostgreSQL, and Apache Arrow due to its unique approach and capabilities.

No comments so far, maybe you want to be first?
Gu