Live data from Hacker News

PartiQL: One query language for all your data

aws.amazon.com

31–40 of 88 posts

Re: PartiQL: One query language for all your data

#31
post #14

'SQL’s ORDER BY orders the output data. Similarly, the PartiQL ORDER BY is responsible for turning its input bag into an array.' That is the most important thing for my uses. I deal mostly in time series data, SQL windowing queries are too slow. Turning the set into an array to allow indexing and support easy time series queries is enough for me the use it.

ORDER BY is still in the works: https://github.com/partiql/partiql-lang-kotlin/issues/47

[deleted]

Re: PartiQL: One query language for all your data

#32
post #20
post #19

Earlier quoted context omitted.

Also, the PartiQL compiler makes heavy use of closures, each of which becomes a class, so the first time a query executes the JVM has to load a few dozen classes--this probably explains the 86ms more than a lack of JIT optimizations alone.

each of which becomes a class Wasn't part of the whole thing with lambdas that they don't all become individual classes?

They're not classes in source code. As an implementation detail, certain compilation strategies do generate them anyway.

Re: PartiQL: One query language for all your data

#33
post #20
post #19

Earlier quoted context omitted.

Also, the PartiQL compiler makes heavy use of closures, each of which becomes a class, so the first time a query executes the JVM has to load a few dozen classes--this probably explains the 86ms more than a lack of JIT optimizations alone.

each of which becomes a class Wasn't part of the whole thing with lambdas that they don't all become individual classes?

they use invokedynamic instruction so a little more efficient than a class once jit'ed (for hotspot, not sure about the other jvms). there might be some cases where class generation is needed, but i don't think so

Re: PartiQL: One query language for all your data

#34
post #12

This is neat. Anyone want to add support for TreeBase/Tree Notation? http://treenotation.org/treeBase/ . It's currently on the backburner to query TreeBases in SQL without having first to convert the TreeBase to sql. Seems like it would be relatively straightforward to use this to do that.

Most of your recent comments link to your project's website. Please stop with the abusive promotion.

I have real problems with TreeNotation advertising itself as "a software-less database system". It's basically abusing your filesystem to store a tree data structure and using git to handle concurrent updates. That's great, except for the part where they ask "does it scale"; and the answer is yes, but should be no.

A database is so much more than just a schema and validator, but this is being advertised as a database replacement.

And, I want to stress, that this doesn't mean I don't think it isn't useful. I bet there are lots of times where you want to enforce some sort of structure on a bunch of folders with files in them. That's not a database though.

Re: PartiQL: One query language for all your data

#35
post #12

This is neat. Anyone want to add support for TreeBase/Tree Notation? http://treenotation.org/treeBase/ . It's currently on the backburner to query TreeBases in SQL without having first to convert the TreeBase to sql. Seems like it would be relatively straightforward to use this to do that.

Most of your recent comments link to your project's website. Please stop with the abusive promotion.

I don't find it abusive, the comments seem relevant and it's a open source library.

Re: PartiQL: One query language for all your data

#37
post #20

Earlier quoted context omitted.

each of which becomes a class Wasn't part of the whole thing with lambdas that they don't all become individual classes?

They're not classes in source code . As an implementation detail, certain compilation strategies do generate them anyway.

Which ones?

Re: PartiQL: One query language for all your data

#38
post #35

Earlier quoted context omitted.

Most of your recent comments link to your project's website. Please stop with the abusive promotion.

I don't find it abusive, the comments seem relevant and it's a open source library.

FWIW this guy does actually spam his project a lot. I recognize him from reddit where people have also complained about his constant promotion of this project.

Re: PartiQL: One query language for all your data

#39

Interesting that they opted for a relational rather than a categorical one; the latter is proving to be more flexible [0]. [0] https://www.categoricaldata.net/

Interesting that they opted for the single-most popular query language on the planet, versus somebody's hobby project? Why is that interesting?

Re: PartiQL: One query language for all your data

#40
post #34

Earlier quoted context omitted.

Most of your recent comments link to your project's website. Please stop with the abusive promotion.

I have real problems with TreeNotation advertising itself as "a software-less database system". It's basically abusing your filesystem to store a tree data structure and using git to handle concurrent updates. That's great, except for the part where they ask "does it scale"; and the answer is yes, but should be no. A database is so much more than just a schema and validator, but this is being advertised as a database…

Thanks for the feedback! I did not expect that confusion. I just made an update (and will push shortly) to be more explicit that it scales for collaborative knowledge bases. But I'm not talking about something like real time transactional DBs, etc.

I have not used TreeBase for anything other than collaborative knowledge bases. Haven't even thought much beyond that. Thanks for letting me know that wasn't clear.

Post reply on HN