Hacker GitHub

← All repos

marcboeker/go-duckdb

View on GitHub ↗ ★ 1,069 Go archived

go-duckdb provides a database/sql driver for the DuckDB database engine.

8 mentions on Hacker News by 4 people: 0 stories, 8 comments · first 2020-09-20 · latest 2023-02-10

Mentions per year 8 mentions · busiest year 2022 (5)
20082026
  1. Anyone tried using the Go driver? It has a few open bugs: https://github.com/marcboeker/go-duckdb/issues And a third-party effort, only: https://duckdb.org/docs/api/overview
  2. …CGO_CFLAGS="-I$(pwd)/duckdb/src/include" go build -ldflags '-extldflags " -lstdc++ -lm -lduckdb -static"' # github.com/marcboeker/go-duckdb vendor/github.com/marcboeker/go-duckdb/connection.go:4:10: fatal error: duckdb.h: No such file or…
    comment by eatonphil · 2022-05-27 · in Range joins in DuckDB
  3. …CGO_CFLAGS="-I$(pwd)/duckdb/src/include" go build -ldflags '-extldflags " -lstdc++ -lm -lduckdb -static"' # github.com/marcboeker/go-duckdb ../../go/pkg/mod/github.com/marcboeker/go-duckdb@v0.0.0-20220427142532-cd9f33e64d9a/connection.go:4:…
    comment by eatonphil · 2022-05-27 · in Range joins in DuckDB
  4. …expert with cgo nor ld). If anyone else has been able to do this I'd love to see your build steps. https://github.com/marcboeker/go-duckdb produces a non-static binary by default.
    comment by eatonphil · 2022-05-27 · in Range joins in DuckDB
  5. …for the Go bindings! If you have another issue, please feel free to post it on their Github page! https://github.com/marcboeker/go-duckdb/issues/4
    comment by 1egg0myegg0 · 2022-05-12 · in Friendlier SQL with DuckDB
  6. …offer duckdb as an alternative engine flag within dsq (and DataStation). Would be neat to see. [0] https://github.com/marcboeker/go-duckdb
  7. …[2], that can potentially be used to use an existing SQLite driver that uses the SQLite C API. [1] https://github.com/marcboeker/go-duckdb [2] https://github.com/cwida/duckdb/blob/master/tools/sqlite3_ap...
  8. …API. It might be possible to use the Go SQLite driver in a similar manner to talk to DuckDB. [1] https://github.com/marcboeker/go-duckdb