Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tracked by #7329
marvenlee2486 opened this issue Aug 3, 2022 · 0 comments
Open
Tracked by #7329
Labels
difficulty/medium Issues that need some knowledge of the whole system good first issue Good for newcomers type/chore

Comments

@marvenlee2486
Copy link
Contributor

marvenlee2486 commented Aug 3, 2022

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.

@marvenlee2486 marvenlee2486 changed the title Pretty print failed SQL statement with error to a/many log files for easier debug and access. SqlSmith: Pretty print failed SQL statement with error to a/many log files for easier debug and access. Aug 3, 2022
@kwannoel kwannoel changed the title SqlSmith: Pretty print failed SQL statement with error to a/many log files for easier debug and access. SqlSmith: Pretty print failed SQL statement with error to log files Aug 16, 2022
@skyzh skyzh added the difficulty/medium Issues that need some knowledge of the whole system label Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/medium Issues that need some knowledge of the whole system good first issue Good for newcomers type/chore
Projects
None yet
Development

No branches or pull requests

3 participants