Skip to content

Support labels in query #242

@Omega359

Description

@Omega359

As seen in Datafusion when attempting to parse the sqlite test suite:

External error: task 27341 panicked with message "called Result::unwrap() on an Err value: ParseError { kind: UnexpectedToken("label-1"), loc: Location { file: "../../datafusion-testing/data/sqlite/random/select/slt_good_21.slt", line: 47, upper: None } }"

The line referenced above is:

query I rowsort label-1 
SELECT + 94 / - col2 + col1 + 9 FROM tab0 AS cor0 
---- 
12 
93 
99

I believe the issue is the new retry code does not account for labels as documented @ https://sqlite.org/sqllogictest/doc/trunk/about.wiki

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions