We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stdout
stderr
The error goes out to the sql file instead of the error log.
echo "foobar" | sqlfmt > formatted.sql 2> error.log
formatted.sql:
formatted.sql
at or near "bananagram": syntax error
error.log:
error.log
I think this is the reason for #68.
sql-formatter
sqlfmt
Concur!
@coolaj86 Hi.
I encountered the same problem. I think this behavior was fixed in #70 .
$ echo "foobar" | sqlfmt > formatted.sql 2> error.log $ cat formatted.sql $ cat error.log at or near "foobar": syntax error
Activity
sql-formatter
orsqlfmt
for auto-formatting sql webinstall/webi-installer-requests#200maddyblue commentedon Sep 18, 2024
Concur!
ebc-2in2crc commentedon Oct 30, 2024
@coolaj86 Hi.
I encountered the same problem.
I think this behavior was fixed in #70 .