logoalt Hacker News

lovasoayesterday at 7:57 PM3 repliesview on HN

The thing I would have liked to know is why they don't use an existing fast SQL parser. Was being slightly incompatible with all existing SQL dialects a product requirement?


Replies

robbie-cyesterday at 8:04 PM

Our SQL is very similar to ClickHouse SQL, in that we used ClickHouse SQL as a starting point as that's what our underlying DB is. We needed to have our own parser so that we could add additional language features on top.

show 1 reply
__syesterday at 9:49 PM

This is pretty much the case with every SQL dialect

-warrenyesterday at 8:34 PM

I think thats exactly what indirectly happened. This guy didnt optimize the parser. Someone else did -- years ago. That work was pulled into the LLM and made it look like magic.

show 1 reply