Sergey Goder

Results issues of Sergey Goder

This library says it's only python 2 compatible but that will soon be deprecated. We should make this work with python 3 too (maybe it does already?)

A function with one argument keeps the trailing comma but if there are two it is stripped. In: ``` def one( a, ): pass def two( a, b, ): pass...

T: bug
F: trailing comma

If there are a lot of tables to match then the CLI blocks for a long time trying to figure out all the possibilities. If there are 200k tables then...

stale

If you have a lot of possible matches for autocomplete then the results are printed without a pager. If there are a lot of results this can take a non-trivial...

stale

It should have the signature `element_at(x, K) -> V` and allow you to have queries like this: ``` select element_at(m, 'foo'), -- 'bar' element_at(m, 'na'), -- NULL from ( values...

enhancement
beginner-task
syntax-needs-review
stale

Currently you cannot provide an empty string as a delimiter for the `split` function. The error is ``` > select split('abc', ''); Query 20160517_035643_07058_prqtw failed: The delimiter may not be...

enhancement
beginner-task

Simple example that isn't being optimized ``` select count(1) from ( select x from ( values 4, 2, 1, 3 ) as t(x) order by 1 ) ``` Query plan...

planner
stale

Currently `array_agg(distinct ...)` is more efficient than `array_distinct(array_agg(...))` which causes users to have to make sure they structure their queries correctly. It feels like we could determine this statically and...

stale

For example if you do ``` presto:test> select 1 from information_schema.columns where table_schema = 'schema' and table_name = 'NAME'; Query 20180823_194720_62752_z8m8y failed: objectName is not lowercase: NAME ``` this should...

bug

I would expect this syntax to do a roundtrip successfully: ``` >>> sqlglot.parse_one("ALTER TABLE foo ADD PARTITION(event='click')").sql() "ALTER TABLE foo PARTITION(event = 'click')" ``` but it drops the `ADD` portion....