Comments (2)
Another good example of this from http:
Actual:
round(
countif(firsthtml and lower(resp_cache_control) like '%s-maxage%')
* 100 / count(
0
),
2
) as firsthtmlpct,
Better:
round(
countif(firsthtml and lower(resp_cache_control) like '%s-maxage%')
* 100
/ count(0),
2
) as firsthtmlpct,
from sqlfmt.
closed in #210
from sqlfmt.
Related Issues (20)
- Space inserted into column name causes syntax error HOT 2
- Reading File with UTF-8 BOM produce Syntax Error HOT 4
- UnicodeDecodeError on Windows: charmap codec HOT 3
- Improve verbose logging
- Support Tornado Templates
- Failed formatting with CTE and CASE statement HOT 2
- Flag -k/--reset-cache does not work in a pre-commit hook HOT 1
- Single vs Double Quotes Issue Diff HOT 9
- Jinja blocks should be indented
- "Range" in frame clauses HOT 1
- Casting to decimal with precision/scale wraps to next line
- File counts unstable for dbt projects with --exclude
- `union distinct` shouldn't have `distinct` on a different line
- INSERT INTO HOT 2
- sqlfmt removes Comments when there are multiple C-style comments on one line HOT 2
- BigQuery STRUCT function HOT 2
- ValueError: max() arg is an empty sequence
- Exclude config in pyproject.toml stopped working in 0.18.3 HOT 9
- `<=>` operator not getting formatted correctly HOT 3
- Make comment safety check less sensitive to whitespace changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlfmt.