Rene Saarsoo
Rene Saarsoo
I'm working with a [pretty large grammar](https://github.com/nene/sql-parser-cst/blob/master/src/parser.pegjs) (6000 LOC) and running Peggy has been getting prohibitively slow, with the compilation taking more than a minute. So I looked into what...
### Search before asking - [X] I searched the [issues](https://github.com/sqlfluff/sqlfluff/issues) and found no similar issues. ### What Happened Running SQLFluff over the following valid PostgreSQL code: ```sql SELECT my_func(foo :=...
I tried to run it, but on my OS X there is no python2 command, rather Python 2.7 was available under the usual name `python`. I tried creating a symlink...
When you calculate the difference of two dates in JavaScript you will get the result in milliseconds. But jintervals expects its input in seconds, so you will have to do...
Using `{Greatest}` often results in the loss of too much precision. 1.5 days will be reported by `{Greatest}` as 2 days. That's pretty far from exact. It might be good...
Currently it's like that: ``` jintervals(seconds, format); ``` I would like to make the seconds argument optional, so that calling jintervals with just a format string would give me a...
I have found it error-prone, that I have to use uppercase for first code and lowercase for all others. For example, when I have code like that: ``` jintervals(x, "{MM}:{ss}");...
Years are really hard. As a scientific unit: ``` 1 year == 365.25 days ``` It's hard to deal with fractions. Weeks are seemingly simple. ``` 1 week == 7...
Currently we only allow optional suffix text: ``` jintervals(x, "{Hours? and }{minutes}"); ``` This is usually enough, but it might not always be. For example: ``` jintervals(x, "Hours: {H}, minutes:...
I wanted to see if I can fix some of the problems in this extension, but was unable to build and run it locally. First off I checked out the...