Live data from Hacker News

Elasticsearch SQL

elastic.co

61–63 of 63 posts

Re: Elasticsearch SQL

#61
post #57

I agree sql is almost always better, but heard that many new students and programmers would rather have a piped Grammer. Eg. Unixish https://github.com/opensearch-project/sql/blob/2.x/docs/user...

Have a look at PRQL (www.prql-lang.org)! That's exactly what it's aiming to provide.

we looked at it recently, alas; we start the effort much before prql came up

Re: Elasticsearch SQL

#62
post #23

Why the f*** couldn't they just build Elasticsearch with a SQL query language from the start? I hate their JSON query syntax and now that this is out I feel like I wasted all the time I spent making my applications work with it.

You can use ES as data storage, and in that case SQL makes sense. It was originally created as full-text search utility, and for that part SQL is not very useful.

Re: Elasticsearch SQL

#63
post #57

Earlier quoted context omitted.

Have a look at PRQL (www.prql-lang.org)! That's exactly what it's aiming to provide.

we looked at it recently, alas; we start the effort much before prql came up

Well PRQL sits on top of SQL so building a good SQL interface is the first step to supporting PRQL at this point.

You can then easily add PRQL on top.

Post reply on HN