logoalt Hacker News

geysersamtoday at 12:27 PM1 replyview on HN

Looks great!

One minor correction - the `summarize` function in duckdb can also be used in CTEs etc.

But you have to wrap the `summarize` in a `from` clause like this:

  with
    some_table as (from range(10)),
    x as (from (summarize some_table))
  from x;

Replies

caerbannogwhitetoday at 12:46 PM

Thank you! I'll add note about it