News for hackers. Stuff that matters.
Re:Elasticsearch SQL by yarg on Monday October 24, 2022 @03:56PM (#33321722)
The syntax is still backward though.

> SELECT blah FROM source

vs

> FROM source SELECT blah

Fixing this would permit some very useful developer features.

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?
Re:Elasticsearch SQL by munk-a on Monday October 24, 2022 @04:24PM (#33322178)
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

Re:Elasticsearch SQL by snthpy on Tuesday October 25, 2022 @01:18AM (#33326522)
Have a look at PRQL!

prql-lang.org