Re:Elasticsearch SQL
by BeefySwain on Monday October 24, 2022 @03:57PM
(#33321739)
Is this the part where I mention that trailing commas should be permitted?
I'd really like to see trailing commas and I think in most cases they wouldn't actually break with standards requirements. I can accept that I don't have a perfect knowledge of SQL and may be wrong, but I believe `, FROM` `, WHERE` `, LIMIT` would all be pretty easy to detect.
Re:Elasticsearch SQL
by slickrick216 on Monday October 24, 2022 @04:19PM
(#33322096)
It’s because it’s streaming I’d bet so really just a wrapper on;
index=blah | fields foo
> SELECT blah FROM source
vs
> FROM source SELECT blah
Fixing this would permit some very useful developer features.