ianmcook

Joined 5 years ago

Karma
44
Submissions
15
Member since
Feb 3
https://github.com/ianmcook https://twitter.com/ianmcook
View on Hacker News

Recent submissions

Comment · 23 days ago
An interactive history of the data stack from 1976 to 2026
Comment · 1 month ago
Agreed. With the API as it is today, the bottleneck is the thousands of round trips (one per state). The post is a bit of a "what if" where we're imagining (and hoping!) that TypeSafe adds a batch endpoint, which would take the round trips out of the picture. Then serialization would start to matter, and that's where Arrow would come in

It would be straightforward to wrap this as an Arrow Flight (Arrow over gRPC) endpoint. But it would make it heavier and less browser-compatible.

Comment · 1 year ago
Comment · 1 year ago
Comment · 3 years ago
Anyone know what format they are serializing the data in to move it between Excel and Python? Are they using Apache Arrow?
Comment · 5 years ago
Thanks for the heads up. The post is intended to be up but there's an intermittent error happening. It's been reported to the Apache infrastructure team.
Comment · 5 years ago
Parquet is not based on Arrow. The Parquet libraries are built into Arrow, but the two projects are separate and Arrow is not a dependency of Parquet.
Comment · 5 years ago
From https://arrow.apache.org/faq/: "Parquet files cannot be directly operated on but must be decoded in large chunks... Arrow is an in-memory format meant for direct and efficient use for computational purposes. Arrow data is... laid out in natural format for the CPU, so that data can be accessed at arbitrary places at full speed."
Comment · 5 years ago
The Arrow Feather format is an on-disk representation of Arrow memory. To read a Feather file, Arrow just copies it byte for byte from disk into memory. Or Arrow can memory-map a Feather file so you can operate on it without reading the whole file into memory.
Comment · 5 years ago
Re this second point: Arrow opens up a great deal of language and framework flexibility for data engineering-type tasks. Pre-Arrow, common kinds of data warehouse ETL tasks like writing Parquet files with explicit control over column types, compression, etc. often meant you needed to use Python, probably with PySpark, or maybe one of the other Spark API languages. With Arrow now there are a bunch more languages where you can code up tasks like this, with consistent results. Less code switching, lower complexity, less cognitive overhead.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton