SQLite Internals: New Numeric Formatting, RIGHT JOIN Fix; DuckDB Announces DuckCon #7

This week's database ecosystem news highlights significant internal merges for SQLite, including enhanced numeric output formatting and a critical `RIGHT JOIN` bug fix. Additionally, DuckDB has unveiled the program for its upcoming DuckCon #7 in Amsterdam.

SQLite CLI and TCL Interface Gain Enhanced Numeric Formatting (SQLite Source Timeline)

A significant update has been merged into the SQLite trunk, enhancing the Query Result Formatter (QRF) with new capabilities for customizing the display of integer and floating-point numbers. This enhancement introduces new `.mode` options in the `sqlite3` command-line interface: `--intfmt` and `--realfmt`. These options allow users to supply specific format strings, offering greater control over how numeric data is rendered in the CLI output. Additionally, these formatting options are now accessible through the `format` method of the `sqlite3` object in the TCL interface, providing programmatic control over output presentation. This change directly addresses a long-standing feature request for configurable floating-point display precision, improving the usability and flexibility of SQLite's output. The series of commits leading to this merge involved initial code for app-defined format strings (067083e973b195f50fa0d199e24a3b01d1b2780a0812fda63d3747c4c75662bf), adding TCL interface support (49778c334aaed6d05342a2063cf7f9f8caa1ec9aac0d49ac1db491ddd3d564b5), and fixing an off-by-one bug with test cases (4e86fc1922e347825e116062a2d5e6c60d04eabe847621b08f03b05b66904ea). This core update simplifies post-processing and improves the readability of numeric results directly from SQLite, making it a valuable addition for developers and analysts alike.
This enhancement is crucial for developers and analysts who require precise control over data representation, especially when debugging or generating reports directly from the SQLite CLI or through TCL scripts. It simplifies post-processing and improves readability of numeric results, and users should look for it in upcoming SQLite releases.

SQLite Resolves RIGHT JOIN Bytecode Bug Affecting Duplicate Rows (SQLite Source Timeline)

A critical bytecode adjustment has been merged into the SQLite trunk to address a bug in `RIGHT JOIN` operations. Previously, when the left-hand side (LHS) of a `RIGHT JOIN` was `NULL`, the bytecode did not consistently check for duplicate right-hand side (RHS) rows, potentially leading to incorrect query results with redundant entries. This merged change (f4f57ca539520b687cf00b0034cb20868cafa5f6c7602c1db71e1a7f885f3daf) specifically adjusts the bytecode to ensure that whenever a row from the RHS table is added to the output set during a `RIGHT OUTER JOIN`, the 'match' index is properly updated. This update is vital for preventing the generation of duplicate rows when the LHS is `NULL`, ensuring correct and consistent behavior of `RIGHT JOIN` queries across all scenarios. This fix originated from a specific bug report (bugs:/info/2026-08-14T04:56:02Z) and is a foundational improvement to SQLite's query execution engine. The associated commit (9d39b0973bff5af1787fafdd49e455c6c27d493c3bce997ae0fdf88eb9adb1d2) details the bytecode modification. This ensures data integrity and accuracy for all applications utilizing `RIGHT JOIN` functionality.
This bug fix is highly significant for applications relying on `RIGHT JOIN` operations, as it guarantees the accuracy and integrity of query results, particularly in complex data retrieval scenarios. Developers should anticipate this fix in upcoming SQLite releases to ensure robust data handling.

DuckDB Announces Program for DuckCon #7 in Amsterdam (DuckDB Blog)

DuckDB has officially announced the full program for DuckCon #7, scheduled to take place in Amsterdam on June 24, 2026. The conference will be hosted at the Royal Tropical Institute and will feature a comprehensive agenda including a variety of talks, engaging lightning sessions, and dedicated networking opportunities. This event serves as a key gathering for the DuckDB community, allowing developers, data scientists, and users to share insights, present new applications, and discuss the future of this high-performance analytical database. The announcement provides details on the schedule, enabling attendees to plan their participation and engage with the latest developments and best practices within the DuckDB ecosystem. DuckCon #7 is an essential platform for understanding the current state and future direction of DuckDB, highlighting its growing impact in the embedded and in-process analytics space.
As a premier event for the DuckDB community, DuckCon #7 offers invaluable opportunities for learning, networking, and staying current with one of the fastest-growing analytical databases in the embedded and in-process space. Enthusiasts of the DuckDB ecosystem are encouraged to review the program and consider attending.