Releases: risinglightdb/sqllogictest-rs
Releases · risinglightdb/sqllogictest-rs
v0.25.0
v0.24.0
[0.24.0] - 2024-12-20
- runner: Added a
Normalizer
type for normalizing result values. A new function
with_normalizer(normalizer: Normalizer)
has been added to the Runner to allow for specifying a custom Normalizer. The existing default normalizer
is available via therunner::default_normalizer(..)
function. - parser: Added a new control mode
resultmode
that controls whether the results are in
valuewise
orcolumnwise
mode. The default iscolumnwise
which means results are in columns.
valuewise
means the results are in a single column (sqlite test style). - parser: Added
valuesort
sort mode. Thevaluesort
mode works like rowsort except that it does not
honor row groupings. Each individual result value is sorted on its own.
Breaking change:
- The
Validator
type used in various function in Runner implementation has a new required fieldNormalizer
that is used to normalize result values.
v0.23.1
[0.23.1] - 2024-12-13
- feat(bin): add opt
--keep-db-on-failure
v0.23.0
[0.23.0] - 2024-11-16
- Refine the behavior of
update_record_with_output
/--override
- runner: Previously,
query
returning 0 rows will becomestatement ok
. Now it returnsstatement count 0
. - bin: Now
--override
will not change the type chars ofquery <types>
, since in practice
it becomes?
s which might cause confusion.
- runner: Previously,
- runner:
statement count <n>
is incorrectly handled when the result is aquery
.
v0.22.0
[0.22.0] - 2024-09-09
- engines/bin: support MySQL engine
v0.21.0
[0.21.0] - 2024-06-30
Breaking changes:
- runner:
RecordOutput
is now returned byRunner::run
(orRunner::run_async
). This allows users to access the output of each record, or check whether the record is skipped. - runner(substitution): add a special variable
__NOW__
which will be replaced with the current Unix timestamp in nanoseconds. - runner(substitution): for
system
commands, we do not substitute environment variables any more, because the shell can do that. It's necessary to escape like\\
any more.$__TEST_DIR__
, and are still supported. - runner(system): change
sh
tobash
.
v0.20.6
[0.20.6] - 2024-06-21
- runner: add logs for
system
command (with targetsqllogictest::system_command
) for ease of debugging.
v0.20.5
[0.20.5] - 2024-06-20
- fix(runner): when running in parallel, the runner will correctly inherit configuration like
sort_mode
andlabels
from the main runner.
v0.20.3
[0.20.3] - 2024-06-06
- feat(bin): hide
INFO
level log by default
v0.20.2
[0.20.2] - 2024-04-22
- fix(bin):
halt
is not handled.