Rene Saarsoo
Rene Saarsoo
As you're hinting, this approach is only useful for skipping the parsing of all the code that's using a different delimiter. I think it's better applied to [the general ignoring...
Thanks for the pull request. It would be nice though if you took the time to verify by yourself whether it works. I personally have also fairly little experience with...
Well, the author of this pull request said that he hasn't tested it and doesn't know if it actually works. I haven't bothered to test it either as that feature...
This works fine, but you have to select Transact-SQL as the SQL dialect that you're formatting. I guess you're probably using this library through [prettier-plugin-sql](https://github.com/un-ts/prettier/tree/master/packages/sql). Just configure `dialect: 'transactsql'`
Thanks for reporting. The formatter thinks that `@localhost` is a variable and formats it accordingly. This `user@host` syntax is kinda tricky to handle as it's specific to very few SQL...
The workaround suggested by @dickensaround worked for me. It also caused the exact same further problem of additional differences appearing (just as described by @dickensaround) which I also had to...
Thanks for reporting. I didn't know that RedShift supports the array-access syntax. Could you point me to the relevant part of RedShift documentation that describes this? Be aware though that...
Regarding Prettier SQL VSCode, please read the [FAQ](https://github.com/sql-formatter-org/sql-formatter?tab=readme-ov-file#im-having-a-problem-with-prettier-sql-vscode-extension). Regarding the `@test` syntax: - Is this a syntax that Snowflake actually supports? Could you please point me to Snowflake documentation that...
You probably meant something like: ```sql CREATE TABLE foo ( col1 STRUCT ) ``` At least that's how it's documented in [Hive documentation](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTable).
Thanks for reporting. This dense formatting of `:` is currently done to improve the formatting of array-slice operations (related to #624): ```sql SELECT foo[1:5]; ``` Unfortunately this is tricky to...