Currently the databricks labs lsql fmt command strips the trailing end-of-line marker from the end of the files that it formats. This is problematic: text files should normally have the EOL marker on the last line in the file. As such the formatter should ensure that reformatted files have the EOL marker at the end of the file.
Currently the
databricks labs lsql fmt
command strips the trailing end-of-line marker from the end of the files that it formats. This is problematic: text files should normally have the EOL marker on the last line in the file. As such the formatter should ensure that reformatted files have the EOL marker at the end of the file.