mildbyte

Joined 9 years ago

Karma
838
Submissions
114
Member since
Nov 28
Co-founder of Splitgraph (www.splitgraph.com), acquired by EnterpriseDB.

Can otherwise be found at https://mildbyte.xyz.

View on Hacker News

Recent submissions

Comment · 1 year ago
Comment · 2 years ago
Have you seen duckdb_fdw (https://github.com/alitrack/duckdb_fdw)? IIRC it's built based on sqlite_fdw, but points the outbound queries to DuckDB instead of SQLite, and it does handle running aggregations inside of DuckDB. Could be useful.
Comment · 2 years ago
Another difference is that this solution uses parquet_fdw, which handles fast scans through Parquet files and filter pushdown via row group pruning, but doesn't vectorize the groupby / join operations above the table scan in the query tree (so you're still using the row-by-row PG query executor in the end).

pg_analytics uses DataFusion (dedicated analytical query engine) to run the entire query, which can achieve orders of magnitude speedups over vanilla PG with indexes on analytical benchmarks like TPC-H. We use the same approach at EDB for our Postgres Lakehouse (I'm part of the team that works on it).

Comment · 2 years ago
Comment · 3 years ago
Comment · 3 years ago
Thanks for the catch! Fixed.
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
It's possible! Currently this is running GROUP BY queries using Socrata's query API on the original government data portal. We're adding the ability to import data from these sources into a columnar format in the future, either into Splitgraph itself or syncing the data out into Seafowl (https://seafowl.io/) which uses Parquet and is much faster.

Technically, the ability is already there (you can add a dataset to Splitgraph and select Socrata as a source if you know the dataset ID), but it's not as turnkey as landing on a dataset page and clicking a button. More to come!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton