Skip to content

Releases: risinglightdb/sqllogictest-rs

v0.24.0

20 Dec 22:57
ac188cb
Compare
Choose a tag to compare

[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 the runner::default_normalizer(..) function.
  • parser: Added a new control mode resultmode that controls whether the results are in
    valuewise or columnwise mode. The default is columnwise which means results are in columns.
    valuewise means the results are in a single column (sqlite test style).
  • parser: Added valuesortsort mode. The valuesort 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 field Normalizer
    that is used to normalize result values.

v0.23.1

13 Dec 04:45
e08bc06
Compare
Choose a tag to compare

[0.23.1] - 2024-12-13

  • feat(bin): add opt --keep-db-on-failure

v0.23.0

17 Nov 08:58
a38886a
Compare
Choose a tag to compare

[0.23.0] - 2024-11-16

  • Refine the behavior of update_record_with_output / --override
    • runner: Previously, query returning 0 rows will become statement ok. Now it returns statement count 0.
    • bin: Now --override will not change the type chars of query <types>, since in practice
      it becomes ?s which might cause confusion.
  • runner: statement count <n> is incorrectly handled when the result is a query.

v0.22.0

09 Sep 03:06
a6bbfdb
Compare
Choose a tag to compare

[0.22.0] - 2024-09-09

  • engines/bin: support MySQL engine

v0.21.0

29 Jul 06:33
9857485
Compare
Choose a tag to compare

[0.21.0] - 2024-06-30

Breaking changes:

  • runner: RecordOutput is now returned by Runner::run (or Runner::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 to bash.

v0.20.6

24 Jun 04:22
17d81db
Compare
Choose a tag to compare

[0.20.6] - 2024-06-21

  • runner: add logs for system command (with target sqllogictest::system_command) for ease of debugging.

v0.20.5

20 Jun 08:14
da5ef94
Compare
Choose a tag to compare

[0.20.5] - 2024-06-20

  • fix(runner): when running in parallel, the runner will correctly inherit configuration like sort_mode and labels from the main runner.

v0.20.3

06 Jun 05:58
3a0b545
Compare
Choose a tag to compare

[0.20.3] - 2024-06-06

  • feat(bin): hide INFO level log by default

v0.20.2

22 Apr 07:01
ab774f1
Compare
Choose a tag to compare

[0.20.2] - 2024-04-22

  • fix(bin): halt is not handled.

v0.20.1

17 Apr 11:35
ace2231
Compare
Choose a tag to compare

[0.20.1] - 2024-04-17

  • bin: When using -j <jobs> to run tests in parallel, add a random suffix to the temporary databases. This is useful if the test is manually canceled, but you want to rerun it freshly. Note that if the test failed, the database will be dropped. This is existing behavior and unchanged.
  • bin: replace env_logger with tracing-subscriber. You will be able to see the record being executed with RUST_LOG=debug sqllogictest ....
  • runner: fix the behavior of background system commands (end with &). In 0.20.0, it will block until the process exits. Now we return immediately.
    system ok
    sleep 5 &