Repository navigation
v5.20.0
Nuthatch 5.20.0 moves the SQL engine to Burrmill 0.0.1, the first tagged revision, and DataFusion
from 55.1 to 55.2 with it. It adds no nuthatch feature. There is no storage migration, and no NID,
registry hash or sealed segment moves. A few /sql answers and refusals read differently, which is
why this is a minor and not a patch.
Upgrade guidance
Replace the binary and restart. A 5.19 store is used as it is.
- Anything that matches on a refusal's text: a statement refused for memory now begins
limit exceeded:where it begansubstrate error:. A statement stopped at its spill cap reads as
it did. - A view or query that casts to
TIMESTAMP: read the section below. A fraction finer than a
microsecond is cut off. - A view that calls
list_sumover integers or decimals: the answer is exact and no longer a
DOUBLE. - Every other nest: nothing to do.
What a /sql caller can see
- A limit is named as a limit. A statement over its memory budget answers
limit exceeded:
where it answeredsubstrate error:, which is what a damaged segment also says. A statement
stopped at its spill cap keeps nuthatch's own refusal, unchanged. - A cast to
TIMESTAMPis microseconds, as DuckDB's is.CAST(x AS TIMESTAMP),TRY_CASTand
::TIMESTAMPwithout a precision, andDATETIME, areTIMESTAMP(6). It was nanoseconds, so the
same instant printed with up to nine fractional digits: one nanosecond before the epoch was
1969-12-31T23:59:59.999999999Zand is now1969-12-31T23:59:59.999999Z.block_timestamp
columns are integers and are not affected. list_sumover integers or decimals is exact. It summed every list as aDOUBLE, so
list_sum([1, 2, 3])was6.0and a large sum lost digits. It now sums toDECIMAL(38, s)and
refuses past 38 digits.list_minexists, andlist_minandlist_maxanswer NULL for a NULL
list where they refused.- A statement reads at most 128 relations, down from 256. A chain of 256 joins planned for
14 s with no point at which a cancel could reach it; 128 plans in 1.6 s. The widest view in the
six production nests reads 65. - A scan is charged for the segments it opens, as it opens them. A scan reading a text column
was charged nothing for its segments, and every other scan was charged for all of them before its
first row. Under a tightmax_rss_mbor tenant share a statement can therefore be refused where
5.19 let it through, and a statement reading one table several times holds less at the start.
Strict isolation's function list follows: list_min is admitted and address_bytes, which Burrmill
no longer registers, is gone from it.
Burrmill's 0.0.1 changelog has
the rest, most of which a nest never sees.
How it was checked
The release gate ran on the six production nest copies against 5.17.2: every statement answered, and
no answer differed. QoS answers all nine of its statements at 704 MB without a spill directory. The
allocations dashboard peaks at 1010 MiB against 937 before, inside the 2 GB cursor budget.
Also
- The live smoke runs the published Intel Mac binary on an Intel runner each week (#2845). It is
cross-compiled on Apple Silicon and had not been executed before: 5.19.0's went frominitto a
first row in 11 s. The installer picks it from now on. - A new page, Check a subgraph locally before publishing,
says what a nest verifies about a subgraph that has not been deployed and what it cannot (#2839). - Three stale lines are corrected: the builder skill's ABI order,
nuthatch offchain --helpand the
RFC index row for 0045 (#2840).