Live data from Hacker News

Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

demo.duckui.com

11–20 of 62 posts

Re: Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

#11

Really excited about the future of DuckDB: 1. DuckLake is the best datalake spec and their team is improving on the extension rapidly. 2. With DuckDB WASM, you can make apps that would normally have 2 to 3 second latency for network calls work in We use it as our built-in datalake at Definite and couldn't be happier with it. 0 - https://ducklake.select/ 1 - https://www.definite.app/blog/ducklake

I am curious is anyone using DuckDB in prod?

of course, why wouldn't you?

I was using it even before it hit 1.0

Re: Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

#13

When DuckDB queries across multiple sources (say, Postgres and a CSV) does it first load all data into DuckDB or is it smart enough to only pull minimal data needed for the query on the fly?

possible, seems this is done in other modes.

quote - google ai mode:

"DuckDB offers robust capabilities for querying data stored partially on S3, particularly when dealing with Parquet files. This is achieved through several optimization techniques:

Predicate Pushdown: When you apply a WHERE clause to filter data, DuckDB can "push down" this filter directly into the Parquet file scan. If the Parquet file contains zonemaps (metadata about value ranges within columns), DuckDB can use this information to skip reading entire sections of the file that do not contain relevant data, significantly reducing the amount of data transferred from S3.

Projection Pushdown: When you select only specific columns in your SELECT statement, DuckDB automatically reads only those required columns from the Parquet file. This means you avoid downloading and processing unnecessary data, leading to faster queries and reduced S3 transfer costs.

HTTP Range Reads: DuckDB leverages HTTP range headers when interacting with S3 (or other object storage supporting range reads). This allows it to fetch only the necessary parts of the Parquet file, such as metadata or specific column chunks, rather than downloading the entire file."

Re: Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

#14
This is cool, thanks. I use the embedded UI but I’m going to play around with yours too.

DuckDB is the single-most impressive piece of software I’ve used in my career. I’m mangling terabytes of parquets daily and it just handles them effortlessly; the bindings also also well-written.

Re: Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

#15

What is a duckdb server? I was under the impression there is no server in duckdb, just the client.

In theory there's none... DuckDB is like Sqlite, it's a file, but in this case it's 100% wasm so theres zero interaction with any "server", it's all on Browser. One example of DuckDB in server is mother duck... It makes .duckdb files "available" on the cloud.

Re: Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

#17
post #14

This is cool, thanks. I use the embedded UI but I’m going to play around with yours too. DuckDB is the single-most impressive piece of software I’ve used in my career. I’m mangling terabytes of parquets daily and it just handles them effortlessly; the bindings also also well-written.

TRUE! It's amazing and I have in other project too! The idea of of this app 100% in browser came from handling lots of CSV's from different people in my former company... Just to load in excel it took forever, then I came up with this, it made my life much easier, hope it makes yours too!

Re: Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

#18

Really excited about the future of DuckDB: 1. DuckLake is the best datalake spec and their team is improving on the extension rapidly. 2. With DuckDB WASM, you can make apps that would normally have 2 to 3 second latency for network calls work in We use it as our built-in datalake at Definite and couldn't be happier with it. 0 - https://ducklake.select/ 1 - https://www.definite.app/blog/ducklake

I am curious is anyone using DuckDB in prod?

Yes, we run DuckDB + DuckLake in prod for https://www.definite.app/

Re: Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

#19
I'd love to make it work with flightsql or HTTP endpoints returning arrow IPC [0]! Did you consider using perspective for last-mile charting [1]? Building your own seems like a huge chunk of work. Well done!

[0] https://duckdb.org/docs/stable/clients/wasm/data_ingestion#a... [1] https://github.com/finos/perspective

Re: Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB

#20
post #13

When DuckDB queries across multiple sources (say, Postgres and a CSV) does it first load all data into DuckDB or is it smart enough to only pull minimal data needed for the query on the fly?

possible, seems this is done in other modes. quote - google ai mode: "DuckDB offers robust capabilities for querying data stored partially on S3, particularly when dealing with Parquet files. This is achieved through several optimization techniques: Predicate Pushdown: When you apply a WHERE clause to filter data, DuckDB can "push down" this filter directly into the Parquet file scan. If the Parquet file contains zon…

« How does it handle [multi-source] joins ? » is the obvious next question.
Post reply on HN