risinglightdb / sqllogictest-rs

Sqllogictest parser and runner in Rust.
Apache License 2.0
168 stars 42 forks source link

Test for parse(unparse(parse()) is identity #129

Closed alamb closed 1 year ago

alamb commented 1 year ago

Follow on to https://github.com/risinglightdb/sqllogictest-rs/pull/127

Here is a proposed method for testing that parsing the results of unparsing are the same records.

alamb commented 1 year ago

@xxchan if you are OK with this approach, I'll add tests for the other example files as a follow on PR