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.