Skip to content

Comment on Why SQL syntax sucks, and why it mattersparent

Comments

My hope with the post is to convince you that both the syntax and semantics of Malloy are more than just different, and indeed are actually better.

In the article, the SQL example results in output that cannot be used safely by downstream queries (i.e., it breaks algebraic substitution). This is generally true of any query in SQL that tries to aggregate along multiple levels of granularity. Malloy solves this limitation by making "nesting" of relations a first-class part of the language.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.