Releases: risinglightdb/sqllogictest-rs
Releases · risinglightdb/sqllogictest-rs
v0.27.2
v0.27.1
[0.27.1] - 2025-02-17
- runner: Add
Runner::set_var
method to allow adding runner-local variables for substitution. - bin: Add
__DATABASE__
variable for accessing current database name from SLT files.
v0.27.0
[0.27.0] - 2025-02-11
- runner: add
shutdown
method toDB
andAsyncDB
trait to allow for graceful shutdown of the database connection. Users are encouraged to callRunner::shutdown
orRunner::shutdown_async
after running tests to ensure that the database connections are properly closed.
v0.26.4
[0.26.4] - 2025-01-27
- runner: add random string in path generation to avoid conflict when using
include
. - bin: detect connection refused error and exit early to make error message clearer.
v0.26.3
[0.26.3] - 2025-01-14
- bin: when
--fail-fast
is enabled, abort all remaining connections before dropping temporary databases.
v0.26.2
[0.26.2] - 2025-01-08
- bin: support
--fail-fast
, and add env varsSLT_FAIL_FAST
andSLT_KEEP_DB_ON_FAILURE
v0.26.1
[0.26.1] - 2025-01-08
- parser/runner: support
system ok retry
v0.26.0
[0.26.0] - 2025-01-06
- paser: Add back
label
support, which was removed in 0.25.0. - parser/runner: support
[statement|query] error retry
(Only support multi-line error message)
v0.25.0
[0.25.0] - 2024-12-26
- runner: Add
retry
clause tostatement ok
andquery ok|error
.
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.