如何在 UNLOAD 语句中使用 DataGrip SQL 格式化程序
How to use DataGrip SQL formatter with UNLOAD statement
如果我有一些 Redshift UNLOAD
语句,例如:
unload ('select * from table')
to 's3://bucket/file.csv.gz'
iam_role 'credential_string'
gzip csv allowoverwrite;
DataGrip SQL 格式化程序将像这样内联整个内容:
unload ('select * from table') to 's3://bucket/file.csv.gz' iam_role 'credential_string' gzip csv allowoverwrite;
我可以进行 SQL 格式化配置来防止这种情况发生吗?
不幸的是,没有那种选项。
如果我有一些 Redshift UNLOAD
语句,例如:
unload ('select * from table')
to 's3://bucket/file.csv.gz'
iam_role 'credential_string'
gzip csv allowoverwrite;
DataGrip SQL 格式化程序将像这样内联整个内容:
unload ('select * from table') to 's3://bucket/file.csv.gz' iam_role 'credential_string' gzip csv allowoverwrite;
我可以进行 SQL 格式化配置来防止这种情况发生吗?
不幸的是,没有那种选项。