by ivanb · 1y ago · 0 comments
Another example is UUIDs. Instead of transferring 16 bytes, the libraries deal with wasteful string representation. I'm sure you can bring another examples.
Nonetheless, for majority of data JSON as DB output format is alright.
The OLAP world has much nicer type systems eg https://duckdb.org/docs/stable/sql/data_types/union.html.