dmca
dmca

Reputation: 685

How to use DataGrip SQL formatter with UNLOAD statement

If I have some Redshift UNLOAD statement such as:

unload ('select * from table')
to 's3://bucket/file.csv.gz'
iam_role 'credential_string'
gzip csv allowoverwrite;

the DataGrip SQL formatter will inline the whole thing like this:

unload ('select * from table') to 's3://bucket/file.csv.gz' iam_role 'credential_string' gzip csv allowoverwrite;

Is there a SQL formatting configuration I can make to prevent this?

Upvotes: 1

Views: 303

Answers (1)

moscas
moscas

Reputation: 10345

Unfortunately, there is no option of that kind.

Please file a feature request: https://youtrack.jetbrains.com/issues/DBE

Upvotes: 2

Related Questions