Are you using core.autocrlf true? (which is a recommended configuration for Windows by the way: https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings )
>the file core\build\generated\sources\version\org\apache\calcite\jdbc\CalciteDriverVersion.java which seems to be the problem is overwritten on every build. The file is taken from core/src/main/version/org/apache/calcite/jdbc/CalciteDriverVersion.java, and I would suggest checking which line endings the file has on your local file system. Vladimir
