Skip to content

SqlSmith: Pretty print failed SQL statement with error to log files #4415

@marvenlee2486

Description

@marvenlee2486

Currently, the Failed SQL query is in standard output in non-prettifed formed. Pretty-print it would causes the terminal to be over long.

When a fail query is detected, the creation of tables until the fail sql query is printed. So when many failed query is detected the terminal would be very messy.

This issue suggests that a single failed query shall be pretty-printed nicely to a log file for reference.

We can store these as artifacts in CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    D-mediumDifficulty: Medium, need some knowledge of the whole system.good first issueGood for newcomerstype/chore

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions