ltabb | 2 years ago | on: Malloy 4.0 aims to make a better analytical SQL
ltabb's comments
ltabb | 3 years ago | on: Data is Rectangular and other Limiting Misconceptions
ltabb | 3 years ago | on: Try Malloy's Fiddle: Sequel to SQL (Built with DuckDB and WASM)
ltabb | 3 years ago | on: A sequel to SQL? An intro to Malloy
https://twitter.com/lloydtabb/status/1567671348306264064ltabb | 3 years ago | on: A sequel to SQL? An intro to Malloy
ltabb | 3 years ago | on: A sequel to SQL? An intro to Malloy
https://twitter.com/lloydtabb/status/1556287859601985536ltabb | 4 years ago | on: Malloy – A Better SQL, from Looker
ltabb | 4 years ago | on: Malloy – A Better SQL, from Looker
https://looker-open-source.github.io/malloy/documentation/la...
ltabb | 4 years ago | on: Malloy – A Better SQL, from Looker
https://looker-open-source.github.io/malloy/documentation/pa...
Here is the SQL we generate.
https://gist.github.com/lloydtabb/8c144d2dac978dda9bf3ec4d6b...
ltabb | 4 years ago | on: Malloy – A Better SQL, from Looker
1) Nesting builds nested results (like GraphQL). This is particularly hard to do in SQL but is allows very large complex data sets to be returned in a single query.
https://looker-open-source.github.io/malloy/documentation/la...
For example the dashboard on the page below is a single SQL query:
https://looker-open-source.github.io/malloy/documentation/ex...
> How does aggregate know what function to use?
You can pre-define calculations with 'measure:' or decalre them explicitly in a query.
> where's the windowing
It's missing with a bunch of other things (like union for example). Its coming of course. The goal is that everything represent able in SQL is represent able in Malloy.
> heck does "order by: 2" mean
Same thing as it does in SQL. We try and have reasonable defaults.
https://looker-open-source.github.io/malloy/documentation/la...
> "How is this actually easier?"
The goal here is to be able to create data models that are re-usable and compose-able and verifiable. Yeah, there is a learning curve as there is with anything powerful. There are many things expressible in Malloy that cannot be easily expressed in SQL.
ltabb | 4 years ago | on: Malloy – A Better SQL, from Looker
Here is an example of Malloy solving today's worlde in 50 lines of Malloy
https://looker-open-source.github.io/malloy/documentation/ex...
And here is the equivalent SQL.
https://gist.github.com/lloydtabb/32f46e7ecbb2da1a443d1adbe9...
ltabb | 4 years ago | on: Malloy – A Better SQL, from Looker
https://looker-open-source.github.io/malloy/documentation/la...
ltabb | 4 years ago | on: Malloy – A Better SQL, from Looker
https://looker-open-source.github.io/malloy/documentation/la...
ltabb | 13 years ago | on: Don’t waste your time in crappy startup jobs
Are all startups are the same? Yah Think?
In working startupland, you get one bet at a time. pick a winner, make sure you have a ride and stop whining.