Skip to content

v3.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 12:36
61a56d8

⚠️ Breaking changes

  • fill with a replacement of another numeric or temporal type now gives the vector's type (the replacement cast as as casts it) whichever cell comes first, and a null atom keeps its type: (fill 3 [0Nf 1.5]) is [3.0 1.5], (fill 2.5 [0N 1]) is [2 1], (fill 2.5 0N) is 2, and a cast as refuses gives the LIST of each cell. (#1823)
  • median is no longer an aggregate spelling in a select (it was never a builtin); use med. This came with #1825. (#1833)
  • an alias, a parameter or a let holding an aggregate now aggregates in a query, as the aggregate called by its own name does. (#1833)
  • a name spelled like an aggregate but rebound to another function is that function in a query, no longer an aggregate. (#1833)
  • year is no longer recognised in a query; use yyyy. (#1839)
  • month is no longer recognised in a query; use mm. (#1839)
  • day is no longer recognised in a query; use dd. (#1839)
  • hour is no longer recognised in a query; use hh. (#1839)
  • second is no longer recognised in a query; use ss. (#1839)
  • dayofweek is no longer recognised in a query; use dow. (#1839)
  • dayofyear is no longer recognised in a query; use doy. (#1839)
  • stddev_pop is removed; use dev_pop. (#1838)
  • read-csv is removed; use .csv.read. (#1838)
  • write-csv is removed; use .csv.write. (#1838)
  • cond (with its else clause) is removed from queries; use a nested if, (if p1 e1 (if p2 e2 en)). (#1843)
  • an F64 or F32 infinity in data arriving through the deserializer (de, an IPC message, the journal, an object file) or the Parquet reader (.parquet.read, .parquet.scan, .parquet.each, .parquet.splayed, .parquet.parted) is now read as the float null (0Nf, 0Ne, flagged as nulls) instead of the infinity, so a builtin that gave a finite answer for one (exp of -inf, div by an infinity, reciprocal, signum) now gives the null, a strict Parquet import refuses an infinity, a select or update whose output is an overflowing constant ((log 0.0), (exp 1000.0)) gives 0Nf instead of the infinity, med, quantile and percentile in a select give 0Nf instead of an infinity when their answer overflows, and a splayed or parted column written by an older build keeps its infinities until the table is rewritten. (#1828)
  • (count (asc x)), (count (desc x)), (count (iasc x)), (count (idesc x)), (count (rank x)) and (count (xrank n x)) under by: raise type when x is a LIST column, as they do keyless; they answered the group counts. (#1846)
  • (first (asc x)) and (last (asc x)) under by: raise type when x is a LIST column, as they do keyless; they answered one cell per group, a null or an error value, instead of raising. (#1846)
  • under by:, (first (asc v)), (count (asc v)) and (last (asc v)) raise type when the table has a column named asc, as the keyless call does; the column was passed over and the shortcut answered. (#1846)
  • under by:, (count (distinct v)) raises type when the table has a column named distinct, as the keyless call does; the column was passed over and the distinct counts answered. (#1855)
  • a failed ray_vec_append, ray_vec_append_raw, ray_vec_insert_at, ray_str_vec_append, ray_str_vec_set, ray_str_vec_compact, ray_list_append or ray_list_insert_at now always leaves its input owned by the caller, and a failed copy answers an error, not NULL. A caller that relied on a failed write to a shared input consuming the reference must now release it. (#1862)
  • ray_table_set_col_idx and ray_table_set_col_name return ray_err_t instead of void; a caller should test it, as a failed copy of the table's columns or schema now answers RAY_ERR_OOM instead of leaving the column silently unchanged. (#1869)
  • the timestamp builtin is removed; use (.time.utc) for (timestamp 'global) and (.time.local) for (timestamp 'local) or any other argument, (timestamp 0) included. (#1876)
  • .time.now is renamed .time.mono; .time.now is a name error. (#1876)
  • cov and scov answers change. For inputs whose magnitudes are all below 1e150, their error is that of rounding a sum of n pairs: at most about 3·n·u of the pairs' spread, sqrt(var x · var y), with u = 2^-53. That is within 1e-9 of the spread for groups of up to 3 million pairs, and holds for any order of the rows and on every route. Answers at different worker counts can differ within that bound. A constant column of any type gives exactly 0. Against dev, ordinary inputs move only in their last bits (2.28e-10 relative at most in the sweep). Large values close together, integers past 2^53 and groups with outliers get the right answer where they got rounding noise that depended on the worker count. From 1e150 the answer may be 0Nf or inaccurate, as the raw formula's was. pearson_corr, wsum and wavg are unchanged. (#1850)
  • .csv.read, .csv.splayed and .csv.parted refuse an (#1888)
  • in the default .csv.read, .csv.splayed and .csv.parted, a number outside its column's type reads as a null (0 in a U8) instead of a wrapped value or an infinity, an inferred column whose sampled integers exceed I64 is F64, and one whose sampled timestamps are past the type's range is not a TIMESTAMP. (#1900)
  • rand gives different values than before for the same position in the sequence (the first (rand 3 1000) of a process is now [883 431 26], was [383 886 777] with glibc), the same on every platform, and covers [0, max) for a max above 2^31 - 1. (#1907)
  • pearson_corr answers change. For inputs whose magnitudes are all below 1e150 and whose spreads are above about 1e-150, its error is that of rounding sums of n pairs: at most about 6·n·u (u = 2^-53), within 1e-9 for groups of up to 1.5 million pairs, for any order of the rows and on every route. Answers at different worker counts can differ within that bound. A constant column of any type gives the null, and so does a side whose sum of squares about the mean is below 2^-1000 (about 9e-302) or not finite. Against dev, ordinary inputs move only in their last bits (2.28e-10 relative at most in the sweep). Large values close together, integers past 2^53 and groups with outliers get the right answer where they got rounding noise that depended on the worker count, or the null. From 1e150, and for spreads below about 1e-150, no answer is promised, but no searched case is a wrong number where dev's was right. (#1896)
  • .graph.random-walk gives different walks than before: successive calls from the same node differ, the walks a process makes are fixed by the order of its rand and random-walk calls, and each walk advances rand's sequence by walk-len values. (#1911)
  • a caught error's dict gains a trace key when the error was raised inside a function; code that prints, counts or compares the whole dict sees it (take code, msg and usage by key instead). (#1929)
  • a caught error from .ipc.send gains a remote key when the server sends its frames, so code that prints, counts or compares the whole dict sees it (take code and msg by key). The REPL prints "on server:" lines under such an error. An error record whose byte 7 is not 0 or 0x01 is now refused as a domain error; no writer ever produced one. (#1933)
  • within of any pair of value and range types that >= and <= reject now raises the same type error, in a query and outside one, where dev compared stored values (a number against a DATE, TIME, TIMESTAMP, SYM, STR or GUID range and the reverse, a temporal value against a SYM, STR or GUID range, a DATE against a TIMESPAN range). (#1934)
  • text from elsewhere in an error line or report is now escaped. A raised string holding a newline, such as (raise "a\nb"), prints as error: domain: a\nb on one line instead of two, and the "on server:" lines no longer double a backslash. (#1937)
  • failures that returned -1 without being a refused connection now return their own codes: no poll -8, an unknown handshake reply -9, credentials too long -10, out of memory or no connection slot -11, a failed transport upgrade -12, and a socket error while sending credentials -5, -6 or -1 by errno. .ipc.open's message for them is no longer "connection refused". -1 now means a refused connection only; every other existing code keeps its value. .ipc.open refuses a user or password of 128 bytes or more with a domain error instead of sending the field empty. (#1944)
  • what an existing client or script can observe: (1) .ipc.open and .repl.connect send a password containing ':' whole; a script that relied on the cut sends a different password. (2) A stall while waiting for the auth result is -5 "connection timed out", not -3 "authentication failed". (3) The server closing the connection during the handshake (before its greeting, or after the credentials) is -9 "handshake failed: the server closed the connection", not -6 "connect failed: ... reset by peer" or -3; a write to a peer that closed during the handshake is -9 rather than -6. (4) -u and -U refuse a password over 253 bytes at startup; before, they kept its first 255 bytes. (5) ray_poll_auth_set with a password over 253 bytes refuses every login instead of matching a 255-byte prefix, and ray_poll_auth_check never matches a password over 253 bytes. (6) ray_ipc_connect with "user:password" of 255 bytes returns -10 instead of sending a wrapped length and failing as -3. (7) The right password followed by more than one NUL byte is refused; dev accepted it. (#1950)
  • ray_str_vec_insert_at now takes its vector on (#1952)

✨ Features

  • report replay evaluation errors (#1112)
  • add a non-durable option to .db.splayed.set (#1113)
  • accept 'LIST as an as target (#1116)
  • TIMESPAN in scans, aggregates and not (#1136)
  • GUID hash index, kept through appends (#1097)
  • mmu, inv, lsq, flip and gram on lists of numeric rows (#1175)
  • make shared builds the engine as a shared library, and release archives carry it (#1199)
  • .sys.trust, lambdas a restricted caller may run (#1183)
  • LZ4, UINT64, DECIMAL columns and multi-file .parquet.parted (#1200)
  • timestamp partition keys and partition pruning by column statistics (#1169)
  • expose poll credential verification to embedders (#1215)
  • read-value, a data-only reader for the text repr writes (#1019)
  • read byte-array decimals; unreadable columns only matter when selected (#1224)
  • write a parted table with .db.splayed.set a segment at a time (#1232)
  • settable dispatch floor for the chained hash-join probe (#1251)
  • profile Rayfall call sites (.sys.profile) (#1258)
  • add identical and element-wise equality for dictionaries and tables (#1211)
  • a TIME is a point in time; TIME - TIME is a TIMESPAN (#1267)
  • semi-mask and anti-mask return the match as a boolean vector (#1259)
  • a final h, i or e suffix types a whole vector literal (#1263)
  • .json.parse, .json.get and .json.format (#1417)
  • read a parted table into memory and concatenate it (#1389)
  • text into vectors inside the engine (#1631)
  • add (.time.sleep ms) to wait in a script
  • an opt-in switch journals async IPC requests like sync ones
  • if chooses per row for a boolean-vector condition (#1605)
  • nearest: over a partitioned table (#1690)
  • append a table's rows to a splayed table on disk with .db.splayed.append (#1712)
  • a reproducible import option that orders PLAIN string pages too (#1716)
  • .ipc.handles lists the open connections, also under -U (#1719)
  • the query log numbers its rows and reads from a sequence number on (#1722)
  • .repl.signature reports how a named global is called, without calling it (#1723)
  • mount a root whose symbol file was replaced at the same path while old tables are held (#1720)
  • .repl.definition reports where a loaded function was written (#1724)
  • :h NAME prints how a builtin or lambda is called (#1733)
  • .repl.inspect reports a named value's members or schema from headers only (#1731)
  • pmap runs a pure function's calls in parallel on the pool's workers (#1728)
  • a one-line summary per builtin, from one source for the binary and the docs (#1739)
  • .repl.signature reports how a builtin treats a collection (#1751)
  • .csv.read {strict: true} refuses a malformed row or cell, naming the line and the column (#1888)
  • read DELTA_BINARY_PACKED, DELTA_LENGTH_BYTE_ARRAY and DELTA_BYTE_ARRAY pages (#1209)
  • a caught error's dict carries its frames as trace (#1929)
  • an error from a server carries the server's frames as remote (#1933)

🐛 Bug fixes

  • stabilize moving variance (#1106)
  • preserve verified unique on grouped symbol reload (#1117)
  • set dict entries by key
  • explain malformed timestamp fields (#1119)
  • preserve dictionary extraction errors and ownership (#1120)
  • return oom instead of dereferencing NULL in scalar constructors (#1125)
  • wrap a dependent group key's bias at the I64 edge (#1123)
  • read large compact vectors and lists (#1068)
  • add explicit round-trip representation (#1091)
  • reject not over STR, SYM and GUID vectors (#1114)
  • correct DATE encode/decode for year 0 and negative years (#1131)
  • keep a trailing \r inside quoted last-column fields (#1132)
  • evaluate iasc/idesc/rank once over the whole column in projections (#1133)
  • lift the 8 KiB cap on string-atom take, at and filter (#1134)
  • accept F32 payload columns and match F32, narrow and GUID keys by value (#1135)
  • retain columns read by outer lambdas (#1072)
  • preserve first-seen order for parted by-dict take (#1073)
  • preserve F32 through vector operations (#1087)
  • clear the typed line on SIGINT at the poll REPL prompt (#1160)
  • aggregate an F32 value column as floats (#1162)
  • emit a partitioned dense grouping's groups in slot order (#1163)
  • map atomic unary verbs through nested collections (#1176)
  • a restricted request binds only in frames it opens (#1186)
  • map and apply take their documented argument counts; apply reads in place and returns typed results (#1177)
  • propagate aggregate compilation errors before fallback
  • call variadic builtins and and/or from map, fold and the other higher-order functions (#1195)
  • handle empty LZ4 input before pointer arithmetic (#1207)
  • read the wall clock at full resolution in time/timestamp (#1196)
  • refuse surplus arguments and document what del actually does (#1213)
  • preserve remote error messages (#1107)
  • date and time answer a DATE and a TIME; trunc for calendar truncation (#1225)
  • a composite by: folds identity key projections into the key (#1238)
  • running-function and vector-constant inputs keep first-seen order under an unordered take (#1242)
  • the distinct-count rewrite keeps the first N groups seen under an unordered take (#1245)
  • refresh swap path when adopting an idle heap (#1250)
  • avoid null pointer arithmetic for empty values (#1261)
  • a name bound to a constant prunes partitions as the literal does (#1212)
  • leave out a STR DICT that makes a compressed file larger than raw; {index: true} keeps it (#1254)
  • make room for a large block from the parked workers' empty pools (#1255)
  • running functions under where: no longer depend on take:, the table layout or the spelling (#1257)
  • a single by: key comes first, as a composite one does (#1271)
  • answer cancel when one lands in the distinct-count gate or the slices (#1252)
  • comparisons and and/or take the builtins' operand rules inside queries (#1268)
  • distinct's radix kernel answers a cancel in its passes (#1277)
  • a row expression's per-group gather answers a cancel (#1285)
  • one symmetric numeric promotion table; queries keep the planned type (#1274)
  • an empty partial keeps its SYM key's dictionary, so later partitions decode their keys right (#1291)
  • a numeric cast of a SYM column raises the eager type error (#1292)
  • the affine sum cache owns its inputs until the evaluation root exits (#1290)
  • running functions under by: run over the whole table, whatever the spelling (#1280)
  • an if that widens a branch keeps its nulls as the result type's null (#1296)
  • a grouped aggregate over a computed temporal argument follows the column's type rule (#1299)
  • a parted dict by: defers its keys only for outputs the DAG lowers (#1307)
  • an if under by: chooses per row, as a plain output and inside an aggregate (#1303)
  • an if under a whole-column verb in a keyless select chooses per row (#1308)
  • two SYM vectors of the same symbols are equal cells in any domain or width (#1312)
  • two STR vectors of the same strings are equal cells in any pool (#1321)
  • meet TIMESPAN with TIME and TIMESTAMP in typed set ops (#1323)
  • an aggregate over a LIST column gives the builtin's answer, grouped and keyless (#1329)
  • count and group LIST cells with the equality and hash distinct uses (#1326)
  • group LIST cells holding an I64 past 2^53 in row order on any number of workers (#1331)
  • meet wide integers with floats through double in hashed in and find (#1332)
  • deduplicate new typed union RHS cells (#1335)
  • read a temporal scratch register at its lane width in nil? (#1347)
  • convert float results to I64 through the null-aware cast on query routes (#1346)
  • an empty in set prunes every partition, with or without statistics (#1354)
  • wrap the atom xbar product near the ends of the range as the vector kernel does (#1351)
  • an integer minus a null DATE is the same type error as minus any DATE (#1357)
  • keep a renamed grouping key in select outputs (#1353)
  • skip overflowed intermediates in sum and avg; float % is the exact floor modulo (#1358)
  • normalize temporal keys for typed find (#1345)
  • an indexed atom find declines a cross-type temporal or float probe to the scan (#1369)
  • keyless first/last skip nulls over a computed argument (#1368)
  • a TIMESPAN with a float % is the exact floor modulo (#1365)
  • start a symfile afresh when its root was deleted under a held table (#1367)
  • hash and compare LIST key cells by value (#1376)
  • run a script from a pipe, a FIFO or process substitution; - is stdin (#1382)
  • compare two predicates in the fused kernel (#1386)
  • free the error objects of failed requests (#1387)
  • find looks a LIST needle's vector cell up as one value (#1393)
  • take an integer atom for the count of top, bot and exit (#1390)
  • a LIST pivot column raises nyi instead of naming columns from pointers (#1396)
  • a compressed float column sums to the plain column's bits (#1384)
  • keep the errno of epoll_wait across xport_woke (#1392)
  • keyless first/last fallback answers as the compiled route and by: (#1378)
  • xbar by a zero or null bucket raises domain, as the builtin does (#1379)
  • reject bad positions, keep nulls and strings in the segments (#1388)
  • a LIST cell that is a vector casts to one value, or raises (#1400)
  • an F32 operand takes the float route in span +, -, * and %, as F64 does (#1407)
  • a select sorts by a computed output that names no source column (#1377)
  • value and index columns keep their type on both routes (#1408)
  • split splits each element of a string collection (#1415)
  • one naming rule on both routes; null pivot values keep their rows (#1426)
  • an I64 result that wraps onto the null sentinel is flagged as null (#1427)
  • min and max of an all-null TIMESPAN are 0Nn on every route (#1428)
  • first and last outside a query are positional for every type (#1442)
  • first and last keep the value's type (#1446)
  • identify missing SELECT sort keys (#1448)
  • a by: output wrapping an aggregate the DAG declines answers per group (#1450)
  • min and max keep the value's type (#1449)
  • preserve nulls in promoted LIST columns (#1456)
  • by: answers per group for an expression key or a nested aggregate the DAG declines (#1459)
  • grade and rank verbs under by: see each group's rows (#1414)
  • a hash index on a STR column answers == and in in a where: (#1416)
  • skip generated I64 nulls in affine sum and avg (#1436)
  • aggregates under update's where: see the kept rows (#1465)
  • preserve INT64_MIN in parted SUM partials (#1472)
  • flag generated nulls at the I16 and I32 result width (#1470)
  • an updated column keeps its type on every route (#1464)
  • preserve row types in eager affine sum (#1473)
  • raise type for an if over two temporal types (#1481)
  • distinct keeps first-occurrence order for every typed vector (#1478)
  • LIST distinct keeps first-occurrence order; -0.0 equals 0.0 in float vector cells (#1372)
  • keep exact totals for parted keyless affine I64 AVG (#1476)
  • the result is a set, the duplicates of the left operand go too (#1399)
  • preserve narrow LIST column types and widen numeric cells (#1484)
  • a computed by: key groups and takes as its by-dict spelling does (#1504)
  • write a symbol the vector's symbol file does not hold (#1505)
  • skip a leading UTF-8 byte-order mark; too many columns is a limit error (#1506)
  • a hash index on a GUID column answers == and in in a where: (#1515)
  • group a TIMESPAN vector by value, not by row number (#1508)
  • xasc and xdesc sort a parted table (#1520)
  • an F32 bucket on a DATE, TIME or TIMESTAMP raises as F64 does (#1510)
  • a string atom keeps its characters in first-occurrence order (#1511)
  • str-find no longer releases a borrowed lazy pattern (#1512)
  • an abandoned heap unmaps its empty pools (#1516)
  • drop closure-table entries whose literal is gone (#1519)
  • a parted table without its key column keeps the partition skip (#1532)
  • count around a select skips the partitions the select skips (#1526)
  • a date literal against a timestamp column or key skips partitions (#1524)
  • a group by xbar of a column keeps the partition skip (#1530)
  • an or or a not as the whole where: skips partitions (#1529)
  • within on a parted column or key skips partitions (#1521)
  • in reads a string set as symbols against a SYM column (#1514)
  • read and print floats in the C locale (#1517)
  • set raises type on a value the vector cannot hold (#1523)
  • a keyless select's quantile keeps a computed probability (#1525)
  • a BOOL column key keeps the first groups seen under an unordered take (#1522)
  • the dense single-key loop prefetches only rows a where: keeps (#1528)
  • keep a SYM column's PART index through a generation-0 save (#1534)
  • keep an object's real peak near the alloc cap (#1535)
  • use snprintf in test_readval so the macOS sanitizer build compiles
  • a lazy chain whose result is a string atom answers distinct
  • leaks, crashes and integer counts in filter, table, update, xrank, guid and group-by (#1380)
  • a builtin called with the wrong arguments says which are expected, of which types, in which order (#1189) (#1359)
  • raise type for an if with a temporal arm and a numeric arm (#1487)
  • an explicit cast to I16, I32, DATE or TIME that lands on the minimum is null
  • replace over a vector reads symbol from and to as text
  • running and moving-window kernels flag the nulls they write
  • trust an index's order note only on the table it holds for
  • a row-wise if over two F32 arms keeps its F32 cells
  • avg of an I64 column plus a constant divides the exact total
  • parted avg of a 64-bit input merges an exact total
  • an if on the evaluator routes chooses per row and raises type for a mix
  • a thread adopting an idle heap takes back its queued frees
  • a thread hands its heap on when it ends
  • a forked child does not inherit spill mappings
  • a free vector an aggregate reads is a column on every route (#1492)
  • a computed string set reads as the literal one against a SYM column
  • F64 msum, mavg and avgs read only their own rows
  • an aggregate of another query's value beside the group is not a refold (#1469)
  • null inside a query is the null keyword unless a column names it (#1483)
  • a name holding a table or a dict reads its global inside a query (#1496)
  • a keyless aggregate evaluates its argument over the rows, as by: does (#1401, #1402)
  • under by:, an aggregate of a set verb reads the group's rows (#1404)
  • a keyless first of a LIST column over no row holds 0Nl, not an empty cell (#1405)
  • in a select, as over a LIST column is the eager cast (#1406)
  • a batch insert flags a SYM column as holding nulls only for a null cell (#1024)
  • a vector of paths to .json.get is a column of paths in every clause (#1437)
  • keep the input columns when the table is empty
  • build with gcc 12: initialize the run-key buffer, bound the radix encode loop (#1531)
  • bound table-tied decode caches by what they really hold (#1557)
  • SYM keys no longer intern a whole symfile vocabulary (#1558)
  • by: med of a source shorter than the table reads no memory past it (#1572)
  • as in a query lowers only an input whose lanes it reads (#1573)
  • an if over string literals is a STR column, as a lone literal is
  • the depth guard also stops at the end of the thread's stack
  • a closure-table entry holds its literal's text, not its first caller's
  • min and max of a span and a number are a span on every route
  • a keyless select's quantile checks every probability as the builtin does
  • the usage and the refusals say what concat takes
  • the quoted spellings of as cast a temporal column to U8 (#1586)
  • a quoted as over a LIST column casts the column as a whole (#1585)
  • a STR vector casts to GUID as each of its strings does (#1583)
  • a DATE, TIME or TIMESTAMP atom casts to U8 as its vector does (#1589)
  • concat reads a "" literal as empty text, as the eager call does
  • concat takes several operands in a by: projection and a helper
  • an output named like a by: key but holding another value is a domain error
  • update keeps a LIST column a boxed list under where: and by: (#1468)
  • a keyless aggregate's scalar source stands for every row on the fallback too (#1571)
  • a nested select's own column names are its own to the planner (#1567, #1568)
  • fold and at of a column see the group under by: and the kept rows keyless (#1429)
  • a null DATE casts to the null TIMESTAMP without overflowing
  • the evaluator, the VM's re-entry, the parser and the readers stop at the thread's stack reserve
  • match null keys of every type and reject out-of-range keys
  • replay marks a request's arguments as the live request did
  • keyless prod over a where: keeping no row is the empty product
  • no value, however deeply nested, crashes a walk over it
  • an error object owns its message, so each serialized error carries its own
  • a snapshot keeps a stored request argument's literal mark
  • a keyless prod over rows that are all null is the empty product
  • a keyless select of aggregates over no rows answers one row
  • an if under and, or, do, try or let on the evaluator routes chooses per row
  • a parted table whose partitions are all empty answers as an empty table
  • a keyless aggregate of two arguments answers the builtin's value on every route
  • a parse error reports its file, line and column
  • like and ilike match a string column pattern row by row (#1615)
  • a snapshot skips a binding that holds a process-local handle (#802)
  • make the interrupt flag an atomic shared safely by every thread
  • inside a query the evaluator's if raises on a condition that differs between the rows
  • a server unblocks SIGURG for each request so a cancel is never lost
  • a while over a query's rows returns or raises, whatever computes its condition
  • a value that repeats its parts is walked once per part, or refused
  • one budget of repeated output per call, and string copies charged
  • a vector or list held by several items is charged as a repeat
  • a lent fixed vector is 32-byte aligned, as gcc 11/12's ASan fake stack places it
  • a by: key with an effect runs once per row and reads every partition, bare or as a by-dict value (#1661)
  • a whole-column verb under a call or a do's last form reads the whole column in a projection
  • var and stddev sum differences from a value of the data on every legacy route
  • a partitioned table's var and stddev merge each partition's variance state
  • the private-id check reads a file's symbols as positions, without interning them (#1636)
  • first and last beside a declined output skip nulls, as planned
  • top and bot beside a declined output give one broadcast cell
  • dev, var, med and quantile of an empty vector of another type are a type error
  • a cancel reaches only the request or client it was meant for
  • a helper whose body uses a whole-column verb receives the column in a projection
  • a sort after a dense task-local group breaks ties by first row (#1664)
  • the SIGURG handler gives errno back to the thread it interrupts
  • a variance whose intermediate overflows is 0Nf, never a number
  • a helper's scalar in an aggregate stands for every row, as inline code's does (#1576)
  • as 'LIST in a select projection boxes the whole column
  • a new column under where: from a LIST column's cell is the typed-vector error, whatever its length (#1574)
  • a name holding a list is one whole value inside a query, on every route (#1570)
  • an integer group spanning more than 2^63 gets its variance from a difference in double
  • a multi-form do runs its earlier forms once per query, its last form planned alone
  • format, repr and .json.format are element-wise on every query route
  • input typed before the prompt is kept, and pty tests wait for the prompt
  • a helper that aggregates its argument means what its body written inline means (#1701)
  • update spreads an aggregate's scalar argument over its rows, as select does (#1702)
  • a per-row helper's lazy result is stored as its value, not as a chain a second read cannot use (#1711)
  • intern dictionary pages in row-group order so the symbol file does not depend on the workers (#1707)
  • the pool count is no ceiling on small blocks (#1686)
  • write the symbol-import counters so the static analyser parses them (#1721)
  • fill loops that run at least once are written so, for the analyser (#1727)
  • a symbol file rewritten in place is refused even when its records keep their lengths (#1734)
  • every builtin has a usage line (#1738)
  • .sys.cmd's shell fallback returns the exit code, as .sys.exec does (#1741)
  • keep loop-invariant switches out of the shape gcc 13.3 miscompiles (#1759)
  • a unary atomic builtin over a mixed list keeps each cell's result (#1752)
  • aggregates over a free vector slice date, time, trunc, split and .emb.tokens per group (#1761)
  • a distinct over a STR column, and the hashset routes of in, except, sect, find and union, stop on a cancel within 65,536 rows (#1754)
  • a helper a higher-order builtin calls inside a select sees the source columns (#1768)
  • a select that only filters keeps every column when its clauses can rebind a global (#1770)
  • a grouped select's filter keeps every column when an output calls a function computed at run time (#1774)
  • the SIGURG handler reads the running request's connection and cancel number as one atomic word, from any thread (#1764)
  • a binary atomic map answers oom for a failed allocation and keeps nothing (#1776)
  • fill never builds a number from a GUID, symbol or string cell (#1779)
  • a cancel while a group sorts its keys into groups answers cancel, not oom (#1792)
  • at on a string takes the keys a vector takes and refuses the others (#1788)
  • map, fold, scan and the other per-element walkers, and in over a long I64 set, stop on a cancel within 65,536 elements (#1797)
  • alter, .csv.parted and the moving windows take an integer key or count, not a float or boolean (#1798)
  • filter of a file's SYM or STR column keeps its cell width, symbol domain and string pool (#1802)
  • a median, quantile or mode whose buffers fail to allocate answers oom, not a column of zeros or none (#1804)
  • a cancelled group on the v2 radix route frees its worker and partition hash tables (#1806)
  • a keyless projection reads a whole-column verb a name holds over the whole column (#1813)
  • an aggregate of filter under by: aggregates each group's kept rows (#1807)
  • an allocation failure in a group on the radix route answers oom, not a crash or an answer short of a column or groups (#1809)
  • a keyless call through a computed head is the call of the function it gives (#1816)
  • an allocation failure on the dense-array group route answers oom, not a table short of a column or a write through NULL (#1812)
  • a SYM or STR group key is flagged has-nulls only when a key is null (#1821)
  • a builtin that takes a typed vector takes the empty untyped list (#1822)
  • a helper given to a call under an unaggregated by: reads each group's rows (#1827)
  • first, last, top and bot carry the aggregate flag, and median is no aggregate spelling (#1825)
  • a projection reads a free vector as long as the table as a column (#1829)
  • fill with a replacement of another numeric type gives the vector's type (#1823)
  • an aggregate is the function a call's head holds, not its spelling (#1833)
  • an unaggregated by: output as long as the table is split by row only when it reads its rows row by row (#1837)
  • med inside an expression under a keyless where: reads the kept rows (#1840)
  • the query-only year, month, day, hour, second, dayofweek and dayofyear are removed; yyyy, mm, dd, hh, ss, dow and doy are the names (#1839)
  • stddev_pop, read-csv and write-csv are removed; dev_pop, .csv.read and .csv.write are the names (#1838)
  • cond and its else clause are removed; a nested if is the way (#1843)
  • a raw float infinity becomes the null where data enters (#1828)
  • an allocation failure while building a query plan answers oom, not a crash, nyi or memory kept (#1820)
  • an allocation failure on the where: path answers oom, not the rows it drops, a column short, or an abort (#1824)
  • a where on a date part of the partition key prunes partitions (#1852)
  • an allocation failure while building group indices answers oom, not a group whose rows are an error (#1849)
  • (count|first|last (asc x)) takes its shortcut by the functions the heads hold, and never for an x asc rejects (#1846)
  • an allocation failure in concat and its neighbouring builders answers oom, not C NULL or a cell left out (#1853)
  • the planner's remaining aggregate shortcuts judge a head by the function it holds (#1855)
  • a cell that fails to box in the query engine answers oom, and embmodel frees the errors it released (#1856)
  • a cell that fails to box in the builtins answers oom, not a value compared, passed or stored (#1858)
  • a failed growing write leaves its input as the caller had it, not a reference short (#1862)
  • an allocation failure in the model loader, the JSON reader, lambda compilation and a computed by: key answers oom, not domain or memory kept (#1866)
  • a growing write that overwrites its input releases it on a failure, and a failed set_col answers oom (#1869)
  • a lazy local read inside a window the tree walker runs stays readable after it (#1863)
  • the typed STR read and a float zone's index info answer oom on a failure, and the take alias rule is in the header (#1873)
  • a query reads a lazy local as its value, not as one item (#1875)
  • the timestamp builtin is removed; .time.utc and .time.local are the wall clock, and .time.now is .time.mono (#1876)
  • the planner's value classifiers read a lazy local's settled value themselves (#1877)
  • a restricted connection runs update, delete, insert and upsert on a table value; a named target stays refused (#1879)
  • a grouped select's broadcast output is the value of a lazy local, not its handle (#1882)
  • parse and read errors say what went wrong and where, as read-value and load do (#1884)
  • cov and scov sum about the running mean (#1850)
  • errors outside the parse and file builtins name the operation and the reason (#1887)
  • a row ends at LF, CRLF, a lone CR or LFCR, with quotes in the file or without (#1895)
  • a number outside its column's range reads as a null by default (#1900)
  • cov and scov keep their overflow-safe correction on clang release builds (#1904)
  • a cell holding the type's null marks its column as having nulls (#1905)
  • a TIMESPAN column takes the indexes the other numeric types take (#1906)
  • the test driver runs any number of .rfl files (#1909)
  • values are uniform over [0, max) for every I64 max, on every platform (#1907)
  • pearson_corr sums about the running mean (#1896)
  • random-walk draws its steps from rand's stream (#1911)
  • select_if_coded's text arrays start initialised, so cppcheck has nothing to report (#1915)
  • a failed allocation's error is freed, not released (#1917)
  • a failed allocation answers oom, not a message about the file (#1920)
  • a scan judges a call's head by the function the name holds, not its spelling (#1923)
  • a final bit-packed run padded past the page's values is read (#1926)
  • a failed native import removes its staging directory (#1927)
  • in reads an I16, I32 or F32 atom at its own width in a query (#1932)
  • within is the comparison pair on both routes (#1934)
  • in a query the evaluator compares a SYM with a string by its symbol (#1938)
  • error lines escape control bytes from the text they print (#1937)
  • connect without a poll says so instead of 'connection refused' (#1944)
  • ray_list_set keeps an item already in its slot (#1948)
  • a password keeps its colons, is compared whole, and handshake stalls say so (#1950)
  • ray_err_code answers a static copy of each code (#1949)
  • ray_env_set keeps a value already bound to the name (#1951)
  • ray_str_vec_insert_at is a growing write (#1952)

⚡ Performance

  • share moving-variance stack storage (#1111)
  • bound first-chunk training decode (#1105)
  • bulk-decode all-present OPTIONAL pages (#1156)
  • group without keys computed from another key's column (#1121)
  • build PLAIN STR values without the setter (#1165)
  • append a parted insert to its partition in place (#1168)
  • ask ahead for sampled rows on cold columns; count distinct preaggregates neighbouring repeats (#1170)
  • .db.splayed.set appends new symbols to the symbol file (#1179)
  • column-by-column import waits less on slow disks (#1180)
  • retain partition pruning for supported local shapes (#1185)
  • nil? over a vector in one typed pass; B8 comparison and any/all kernels (#1191)
  • integer vector comparisons of any widths, either operand order, on typed kernels (#1193)
  • extend sparse sorted find to integer widths (#1208)
  • one lower bound for an integer atom in a sorted vector, typed scan otherwise (#1231)
  • key bitmap prefilter for SYM and compound keys, inner and left (#1230)
  • read the where: selection in place under an unordered grouped take (#1229)
  • run a sorted take under where: on the pool, with a threshold buffer instead of a K-heap (#1228)
  • take the distinct-count rewrite for groups of a few rows, on an estimate it can trust (#1233)
  • flush a native import's staged tree with one call (#1202)
  • a grouped sum(if) prunes partitions beside other aggregates and by a SYM column (#1269)
  • an if over same-typed branches fills with a typed select, and serially unless the where is sparse (#1281)
  • an if beside other outputs, over F64 or SYM, or in where: keeps partition pruning (#1282)
  • convert a multi-file import's row groups in parallel (#1203)
  • hash vector key cells by content in keyed-table == (#1309)
  • hash vector key cells by content in the duplicate check (#1313)
  • find each row's group through a hash table (#1317)
  • restore the O(1) narrow sum where column bounds prove no row wraps (#1316)
  • hash list cells in distinct, in, except, sect and union (#1322)
  • add a typed kernel for temporal plus or minus an integer (#1341)
  • hash table cells by column contents (#1352)
  • hash homogeneous boxed I64 keys exactly (#1356)
  • hash integer atoms exactly when a LIST key set holds no float or TIMESPAN (#1413)
  • hash unresolved LIST needles after a bounded prefix scan (#1431)
  • hash eligible parallel LIST keys by exact integer value (#1445)
  • hash eligible LIST integers by exact value (#1453)
  • hash eligible indexed LIST keys by exact integer value (#1454)
  • hash eligible LIST count-distinct values exactly (#1455)
  • keyless aggregates run per input column; direct probe for one integer join key (#1260)
  • narrow a fused I16/I32 chain once when column bounds prove it cannot wrap
  • mmu and gram compute in the operands' precision, on a tiled kernel (#1619)
  • like, nil?, not in, (quote x) and a cast of literals keep partition pruning (#1604)
  • a grouped sum(if) beside a timestamp comparison keeps partition pruning (#1604)
  • probe each parted segment's own hash index in a where:
  • bound each slice by its high words before counting affine I64 null hits
  • typed loops for the keyless aggregates of a plain column
  • temporal accessor builtins compile to the DAG extract (#1599)
  • the exact search runs on the pool, one scan for .emb.knn and nearest: (#1640)
  • derived keys evaluate once per distinct value, symbol and string columns (#1600)
  • finish the key hash before the grouping takes its slot (#1625)
  • a register-block kernel over a packed strip, shared by mmu and the encoder (#1642)
  • the key hash and span walks start at depth 0 inline again
  • the left fold of concat in one pass per stretch, linear in the items
  • a by: key computing an if keeps partition pruning (#1604)
  • size a compressed STR column's pool in parallel and expand each cell once
  • read a compressed STR column's dictionary vectors in place, and decode whole only what the cache keeps
  • TIMESPAN vector arithmetic and comparisons run whole-vector kernels
  • a vector cast between I64 and TIMESPAN is a copy on the fast path
  • a TIMESPAN group key takes the v2 engine, keeping first-seen group order
  • the private-id check at a query's exit is debug-only, as its comment says
  • a few rows of a compressed string column are read cell by cell (#1684)
  • split a large row group's partitions across the pool
  • typed fill and dyadic min/max, parallel group-id table for count distinct (#1644)
  • a grouped select over a parted table flattens only the columns it reads (#1703)
  • a sort and take above a projection of a parted table sorts and takes first (#1705)
  • an or of == on one column against literals is planned as that column's in (#1708)
  • a select of only where: gathers just the columns the select over it reads (#1704)
  • an if output named like a column keeps partition pruning when no later output reads that name (#1709)
  • a grouped take beside a where: tests the where: only at the rows the first-N route reads (#1710)
  • an if holding strings beside a timestamp comparison keeps partition pruning (#1713)
  • keep a hash index complete through appends with a delta (#1714)
  • string ops over a SYM column once per distinct symbol, without growing the global symbol table (#1687)
  • take the left rows from a key column's hash index when few can match (#1715)
  • a cast of a literal used as a comparison's bound prunes partitions as the literal does (#1743)
  • a parted group under a where: gathers the kept rows of the columns it reads, not every row (#1753)
  • a symbol literal in the outer select keeps the inner select's column narrowing (#1750)
  • a unary atomic builtin or div over a typed vector runs the vector kernel (#1763)
  • sel_compact copies runs of kept rows from the selection, without an index of them (#1766)
  • a dotted symbol literal in the outer select keeps the inner select's column narrowing (#1786)
  • a group by one key with no outputs finds its groups' first rows on the pool and gathers its columns in bulk (#1794)
  • a parted group by a compressed STR key under a where: builds its key ids over the kept rows only (#1793)
  • distinct over a SYM vector keeps the presence array to 2^23 symbols and takes the radix kernel past them (#1799)
  • escaped text cells share blocks instead of a page mapping each (#1894)
  • pools take no huge-page advice (#1872)
  • count distinct by a few groups under a where: is gated on the rows the where: keeps (#1880)
  • an inner select builds only what the outer select reads, and its text keys and ifs over text literals are coded (#1841)
  • huge pages for large direct blocks, and a parallel page release without them (#1718)
  • a fill with an atom of the column's type runs over the whole column (#1899)
  • a cast of a literal used as a comparison's bound skips chunks as the literal does (#1928)
  • symbol-file block hashes are taken as records are written, and an append writes the hash sidecar in place (#1953)

📚 Documentation

  • document route-dependent first/last null handling (#1115)
  • coordinate coherent contribution scopes
  • clarify symbol flag provenance in ser bytes (#1083)
  • explain non-finite float null behavior (#1084)
  • document integer wrap and cast bounds (#1089)
  • an overflowing F32 result is null, as for F64 (#1166)
  • how to write a partitioned database from Rayfall (#1226)
  • f32 with i64 is f64; state the promotion table once
  • a query's first and last skip the STR null ""
  • the row order of inner, left and full joins is not specified
  • a query's F64 sum or avg of a column plus a constant may round differently
  • complete the builtin reference and check that it stays complete (#1565)
  • inside a query, the earlier forms of a do may not be evaluated (Part of #1650)
  • a packed symbol result loses its quote
  • a list holding an error value deserializes to its first error
  • describe how a pull request lands on dev through the merge queue (#1700)
  • set and let return the bound value, and what that costs over .ipc.send (#1791)
  • trailers that must reach dev go in the commit message, not the description (#1834)
  • say what the default pool size costs and when to set -c (#1845)
  • println prints a table as its dimensions; show and format print its contents (#1922)
  • the public header says who releases what for every function (#1945)
🔧 Maintenance & internal
  • test(harness): RAYFORCE_NO_FSYNC skips durability flushes
  • test(harness): parallel runner and fast/full test tiers
  • test: make the heaviest tests cheaper without losing coverage
  • test(harness): build the runner on macOS
  • test(harness): isolate spill state and process footprint between tests
  • ci: TEMPORARY macOS enccol diagnostic (to be reverted)
  • ci: TEMPORARY macOS enccol diagnostic, round 2 (to be reverted)
  • test(enccol): align the decode output buffers
  • test(enccol): cancel_waiter retries when the decode wins the race
  • test(harness): bound cancel_waiter's waits; per-test timeout under -j
  • test: make cancel_waiter deterministic; Ctrl-C pty test to the full tier
  • ci(release): merge each release back into dev automatically (#1109)
  • test(pool): skip cpu_quota_child where CPUQuota= is not applied (#1161)
  • test(heap): include worker reclamation in relief accounting (#1184)
  • test(heap): make RSS and spill assertions deterministic
  • test(csr): release parallel cancellation state (#1240)
  • test(heap): reach every pool worker deterministically in the relief tests (#1210)
  • test(temporal): sample the clock across distinct milliseconds (#1294)
  • test(query): pin a lambda written in place as a plain output under by: (#1295)
  • test(agg): pin cd_bounded_floor's one-round check to a pool of 4 (#1301)
  • test: fix order-dependent failures (stale relief state, leaked symbol tables) (#1304)
  • test(ipc): clear the process-wide cancel state between tests (#1327)
  • test(buddy): swap-path tests drop an inherited heap before init (#1509)
  • test(arena): measure the spill test's base after making room (#1518)
  • test(aware): run the range-key prune check on four workers (#1538)
  • ci: cancel a pull request's superseded CI run (#1537)
  • test(ipc): transport tests take a free port and stop their own pids (#1540)
  • test(query): where_in_sym_strings runs its child processes without RAY_CSV_TRACE
  • test(ipc): every server-spawning test takes its own port and pid
  • test(heap): make room with a one-byte watermark before the spill base
  • test: an empty or "0" debug switch is off, and the runner restores the environment
  • test(pool): judge read-ahead by pages past what the eviction left
  • test: run rayforce code in a fresh child process, never a forked copy
  • test: raise read-ahead fault budgets by the refaults counted, no more
  • test: build the release test suite with gcc
  • ci: build release and shared with gcc 12
  • refactor(emb): gather the vector functions under .emb.* (#1618)
  • refactor(emb): the index is .emb.hnsw.* and is read and written with get and set (#1622)
  • ci: build the Linux release and nightly binaries with the pinned Clang
  • test(ipc): skip time_sleep_cancel on macOS until its lost cancel is fixed
  • test(lang): the suite checks that every registered builtin is in the function reference
  • test(io): read_until_eof cannot hang on a FIFO with no writer
  • chore(query): the per-row if leaves the #1630 guard to a compiled while
  • test(ipc): the silent peer's flags are atomics, not volatile ints
  • ci: run a fast full tier in a merge queue on dev, a cheap tier on pull requests
  • test(query): assert grouped routes and atom kernels by counts, not wall time (#1732)
  • ci: land a merge group whose macOS leg got no runner; test macOS on every push to dev (#1735)
  • test(lang): timeseries_interrupt_cancel raises its cancels the way they reach a kernel, not through a pool that may not exist yet (#1771)
  • chore(release): the release notes list breaking changes first, from a BREAKING CHANGE: footer (#1830)
  • chore(release): closing lines beside a BREAKING CHANGE trailer no longer hide it from the release notes (#1835)
  • test(release): three consecutive BREAKING CHANGE trailers are three release-note entries (#1836)
  • test(ipc): the cancel tests over IPC assert only what holds for every interleaving (#1874)
  • test: every .rfl file that needs a POSIX shell carries the posix marker (#1913)
  • test: three fuzz seeds and a Parquet fixture carry the neutral writer stamp (#1925)
  • ci(audit): the release pull request reports success without auditing again (#1956)
  • test(agg): the large-magnitude co-moment sweep runs as four tests (#1958)

Full changelog: v3.0.2...v3.5.0