We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First of all, thanks for your efforts to enable usage of DuckDB from Go!
DuckDB provides a great way to query Parquet files: https://duckdb.org/docs/data/parquet/overview.html
Is this something planned in go-duckdb? If not, do you see a way this could be achieved?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi @flo8 thanks!
You can query Parquet files like this:
var err error db, err = sql.Open("duckdb", "?access_mode=READ_WRITE") if err != nil { log.Fatal(err) } defer db.Close() // Install and load Parquet extension db.Exec("INSTALL parquet; LOAD parquet;") // handle error row := db.QueryRow("SELECT * FROM read_parquet('users.parquet')") var ( id int name string ) row.Scan(&id, &name) // handle error fmt.Println(id, name)
Sorry, something went wrong.
@marcboeker wow amazing!! thanks a lot 👍
No branches or pull requests
First of all, thanks for your efforts to enable usage of DuckDB from Go!
DuckDB provides a great way to query Parquet files:
https://duckdb.org/docs/data/parquet/overview.html
Is this something planned in go-duckdb? If not, do you see a way this could be achieved?
Thanks in advance
The text was updated successfully, but these errors were encountered: