Readit News logoReadit News
archiewood commented on Embedded Analytics as Code   evidence.dev/blog/embedde... · Posted by u/archiewood
archiewood · 3 months ago
If you want to deliver data to your customers you have two main options:

1. Build something custom in js

2. Use a drag and drop BI tool

(1) works if you are a front-end dev, but then it means the dev team need to own it forever, deal with customer requests etc

(2) means the data team can run it, but there's poor release management, and normally doesn't look good in your app

Evidence's version tries to hit the sweet spot: It's still written in code so you have version control and flexibility for customization, but it's SQL and Markdown so the data team can maintain it

archiewood commented on 7 Databases in 7 Weeks for 2025   matt.blwt.io/post/7-datab... · Posted by u/yarapavan
archiewood · a year ago
DuckDB is really having a moment

The ecosystem is very active, and they have recently opened up "community extensions" to bring your own functions, data types and connections. A barrier at the moment is that extensions are written in C++, though this limitation should be removed soon.

I've been building a lot on top of DuckDB, two of the projects I'm working on are linked in the article:

- Evidence (https://evidence.dev): Build data apps with SQL + Markdown

- DuckDB GSheets (https://duckdb-gsheets.com): Read/Write Google Sheets via DuckDB

archiewood commented on DuckDB-GSheets: Read and Write Google Sheets in Pure SQL   github.com/evidence-dev/d... · Posted by u/archiewood
archiewood · a year ago
DuckDB GSheets is a DuckDB extension that allows you to read and write data from Google Sheets.

-- Install

install gsheets from community;

load gsheets;

-- Authenticate with the browser

create secret (type gsheet);

-- Read

select * from 'https://docs.google.com/spreadsheets/d/11QdEasMWbETbFVxry-Ss...'

-- Write

COPY <table_name> to 'https://docs.google.com/spreadsheets/d/11QdEasMWbETbFVxry-Ss...' (format gsheet);

archiewood commented on Show HN: GoSQL – A query engine in 319 LoC   github.com/archiewood/gos... · Posted by u/archiewood
eatonphil · a year ago
Thanks for mentioning! One of the most fun parts of this series I think is handling indexes on INSERT and actually making use of them based on (effectively) pattern matching on WHERE clauses.

> (Use the tag "sql" to find the later parts. Sadly not linked directly from that first one.)

There's a "Note" section right below that title that links to the other posts. :) I guess it is UX feedback that this was not obvious to spot.

archiewood · a year ago
Wow this is much more complete than mine, kudos.
archiewood commented on Show HN: GoSQL – A query engine in 319 LoC   github.com/archiewood/gos... · Posted by u/archiewood
zh2408 · a year ago
Feel like you can achieve something similar in duckdb? duckdb allows you to query local csv, parquet, and even remote ones?
archiewood · a year ago
Oh definitely, I love DuckDB.

This was a learning exercise for me as much as anything

Deleted Comment

u/archiewood

KarmaCake day235September 24, 2020View Original