NewsCrawler.org

GlueSQL v0.21 adds SlateDB and SQLite storage backends

GlueSQL v0.21 adds two storage backends. SlateDB lets applications store tables in an Amazon S3 or Cloudflare R2 bucket and update them in SQL transactions. The SQLite backend stores GlueSQL tables...
Image: Reddit

GlueSQL[1] is an SQL engine that runs inside a Rust application. Release v0.21 adds two storage backends. SlateDB[2] lets applications store tables in an Amazon S3 or Cloudflare R2 bucket and update them in SQL transactions. The new SQLite backend stores GlueSQL tables in a local database and can use SQLite's own query engine to filter rows.

The planner can now also translate IFNULL, COALESCE and NULLIF in single-table WHERE clauses into SQLite filters. Redb supports secondary indexes created with CREATE INDEX, and Parquet[3] reads only the columns a query requests.

The release removes SledStorage. To move a Sled database to Redb, export it with the v0.20 CLI and load the dump with the v0.21 CLI. Redb files must be upgraded to storage format v5 before they are opened. Queries that use AND, OR, IN, NOT IN, BETWEEN and LIKE now follow the three-valued NULL logic shared by PostgreSQL, MySQL and SQLite, which can change which rows a WHERE clause keeps.

Repository GlueSQL github.com

SQL engine that runs inside a Rust application, letting it query data from memory, files and other storage backends.

Stars: 3,141Forks: 283License: Apache-2.0Updated:

Read the original github.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page