Closed NathanEckert closed 1 year ago
mvn spotless:apply
Done
LGTM
@NathanEckert I've released 2.0.4 to Maven Central. https://repo1.maven.org/maven2/com/github/vertical-blank/sql-formatter/2.0.4/
@NathanEckert I've released 2.0.4 to Maven Central. https://repo1.maven.org/maven2/com/github/vertical-blank/sql-formatter/2.0.4/
Thanks a lot !
This PR solves the following issue:
In Spark SQL, it is possible to use lambda.
However, the formatter is breaking valid SQL statements:
The output is:
In order to be valid Spark SQL, the symbol
->
should be kept as a whole and not split into- >