ClickHouse / ClickHouse/pastila
Query Formatting Option
- Dominant language
- HTML
- Stars
- 85
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
It would be great to have a **Format Query** option to automatically format pasted SQL queries for better readability.
For example, when I paste a query like:
```
select avg(price),
toStartOfMonth(date) as month_
from uk_price_paid
WHERE toYear(date) > 2004 AND toYear(date) < 2011
GROUP BY month_;
```
it should automatically format into a more readable structure with proper indentation to something like this
```
select
avg(price),
toStartOfMonth(date) as month_
from
uk_price_paid
WHERE
toYear(date) > 2004
AND toYear(date) < 2011
GROUP BY
month_;
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.