7.4.0
版本发布时间: 2024-03-23 01:41:33
questdb/questdb最新发布版本:8.1.1(2024-09-06 02:53:34)
🌸 QuestDB 7.4 Release Notes
Ahh, Spring! Sunshine, flowers, all that nice stuff.
As the wheels of the seasons turn, so to the wheels of the applications we're all busy building.
Hopefully good things bloom for us all.
QuestDB is pleased to release version 7.4!
As you've come to expect, this release further improves core database performance. Also as per usual, several bugs and rough edges have been addressed. In important addition, there are note-able breaking changes that will provide a smoother overall experience and set us up well for future changes. Please address them prior to upgrade, and reach out to us if you run into any issues.
⚠️ New Features with breaking changes
-
SAMPLE BY
queries now useALIGN TO CALENDAR
by default. As such, if you're usingSAMPLE BY
and expectingALIGN TO FIRST OBSERVATION
, you'll need to update your queries to specify that syntax. -
Java client: The ILP Sender used in our first-party Java client now requires an explicit selection of Transport, (HTTP or TCP) for enhanced reliability and clarity in data ingestion workflows. You will need to pass this value forward. See the PR for more information. If you do not use the Java client, but use another language client, see your respective language client repository and update if needed.
-
CREATE TABLE AS
andINSERT INTO SELECT
statements now operate non-atomically and are batched by default. If you require an atomic table, you can now use the very powerful sounding:CREATE ATOMIC TABLE
. For more information, checkout the docs.
🚀 Performance Improvements
This release improves parallel GROUP BY
query performance and also makes SAMPLE BY
queries more efficient. In addition, we've reduced thread-local allocator overhead in single-threaded GROUP BY
& SAMPLE BY
queries. The first/last aggregate functions for string columns have also been optimized.
🐛 Bug Fixes
- Resolved issues leading to segmentation faults and incorrect results in certain SQL queries involving GROUP BY and SAMPLE BY clauses.
- Addressed a bug that could cause a table to be omitted from snapshots after significant DDL changes.
- Fixed HTTP request handling to prevent rejections when content-length is set to 0.
- Solved potential TLS handshake stalls on MacOS.
- Corrected the behavior of altering tables to add indexes that could inadvertently remove deduplication keys.
- Eliminated a crash during ingestion and various other stability issues.
What's Changed
- fix(sql): potential incorrect results in non-keyed parallel GROUP BY query by @puzpuzpuz in https://github.com/questdb/questdb/pull/4234
- fix(sql): segfault when running SAMPLE BY query with index-based filter and last/first functions by @puzpuzpuz in https://github.com/questdb/questdb/pull/4233
- fix(core): fix an issue where a table was not being included in the snapshot due to significant DDL changes being applied. by @ideoma in https://github.com/questdb/questdb/pull/4245
- fix(http): fix rejects of HTTP GET requests when content-length set to 0 by @ideoma in https://github.com/questdb/questdb/pull/4242
- fix(core): TLS handshake might occasionally get stuck on MacOS by @jerrinot in https://github.com/questdb/questdb/pull/4269
- fix(sql): fix incorrect unordered map creation check by @puzpuzpuz in https://github.com/questdb/questdb/pull/4255
- perf(sql): parallel GROUP BY support for first/last functions by @puzpuzpuz in https://github.com/questdb/questdb/pull/4267
- fix(sql): fix altering table to add index can remove dedup key by @ideoma in https://github.com/questdb/questdb/pull/4270
- feat(sql): parallel
sample by
implementation by @bluestreak01 in https://github.com/questdb/questdb/pull/4259 - perf(sql): speed up first/last aggregate functions for string columns by @puzpuzpuz in https://github.com/questdb/questdb/pull/4276
- fix(sql): fix a bug in indexed symbol comparison by @mtopolnik in https://github.com/questdb/questdb/pull/4273
- fix(core): fix wal table is suspended after invalid drop partition SQL by @ideoma in https://github.com/questdb/questdb/pull/4272
- fix(core): fix double-free in text loader by @bluestreak01 in https://github.com/questdb/questdb/pull/4278
- perf(sql): avoid redundant parsing of UUID bind variables by @puzpuzpuz in https://github.com/questdb/questdb/pull/4281
- feat(sql): breaking change💥 - change default behaviour of SAMPLE BY to ALIGN TO CALENDAR instead of ALIGN TO FIRST OBSERVATION by @nwoolmer in https://github.com/questdb/questdb/pull/4277
- fix(core): fix possible crash during ingestion (fuzz) by @mtopolnik in https://github.com/questdb/questdb/pull/4286
- fix(sql): qualified names in ORDER BY join queries no longer cause AssertionError by @nwoolmer in https://github.com/questdb/questdb/pull/4274
- perf(sql): remove thread-local allocator access overhead in single-threaded GROUP BY/SAMPLE BY queries by @puzpuzpuz in https://github.com/questdb/questdb/pull/4271
- feat(ilp): breaking change💥 - ILP Sender requires explicit Transport selection by @jerrinot in https://github.com/questdb/questdb/pull/4293
- fix(core): fix ignored JVM arguments in AMI by @petr-tichy in https://github.com/questdb/questdb/pull/4258
- fix(http): send http timeout response instead of disconnect on long csv export by @ideoma in https://github.com/questdb/questdb/pull/4300
- feat(sql): breaking change💥 - change default behaviour of CREATE TABLE AS/INSERT INTO SELECT statements to be non-atomic and batched by @nwoolmer in https://github.com/questdb/questdb/pull/4287
- fix(sql): fix potentially incorrect values produced by LPad/RPad functions by @eugenels in https://github.com/questdb/questdb/pull/4327
- fix(sql): fix ILIKE for upper case non-ASCII patterns by @puzpuzpuz in https://github.com/questdb/questdb/pull/4321
- fix(sql): fix occasional failures with first()/last()/first_not_null()/last_not_null() direct string function by @jerrinot in https://github.com/questdb/questdb/pull/4324
New Contributors
- @petr-tichy made their first contribution in https://github.com/questdb/questdb/pull/4258
Full Changelog: https://github.com/questdb/questdb/compare/7.3.10...7.4.0
1、 questdb-7.4.0-no-jre-bin.tar.gz 9.47MB
2、 questdb-7.4.0-rt-freebsd-amd64.tar.tar 27.88MB
3、 questdb-7.4.0-rt-linux-amd64.tar.gz 30.26MB
4、 questdb-7.4.0-rt-windows-amd64.tar.gz 26.35MB