Comments (5)
I can confirm that it works in python:
import duckdb
con = duckdb.connect()
results = con.execute("SELECT * FROM '/tmp/writer_test368959290/test.parquet'").fetchall()
print(results)
output:
[(5577006791947779410, b'VlBzgbaiCM', 0.8136399609900968, False), (8763219523051806976, b'CpCILpgRwz', 0.8344520379886149, True), (2727609509146539891, b'peRpmICkHP', 0.28159210753652814, False), (3808190704329644902, b'HUkjEoSJKl', 0.20036864355101555, True)]
from go-duckdb.
@raffricc I've added a DUCKDB_TYPE_BLOB that should fix the problem. Please get the latest version and try again. You should see the output as bytes.
2022/06/22 23:39:04 /tmp/writer_test2898174709/test.parquet
2022/06/22 23:39:04 5577006791947779410, VlBzgbaiCM, 0.8136399609900968, true
2022/06/22 23:39:04 2669909356377979369, cWUPuTHNsG, 0.2585587212345129, true
2022/06/22 23:39:04 6828643170743844117, KrTldMuFkY, 0.9464975830653858, false
2022/06/22 23:39:04 8602951731698254683, baxkcGJBFz, 0.4186347320545146, true
2022/06/22 23:39:04 *********************************************
2022/06/22 23:39:04 5577006791947779410, [86 108 66 122 103 98 97 105 67 77], 0.8136399609900968, true
from go-duckdb.
@marcboeker Hi Marc, thank you very much for the quick fix. Really appreciated. I can confirm it works :)
from go-duckdb.
@raffricc Great to hear that it works now :) Thanks for the bug report.
from go-duckdb.
@marcboeker Morning Marc, I just did some more testing and found a new bug (see #27). Also you might be able to close: #23 by suggesting updating to duckdb 0.4.0
from go-duckdb.
Related Issues (20)
- Exposing filesystem interface HOT 1
- Make Apache Arrow Optional HOT 2
- Add support for the DATE type in the appender
- Does `go-duckdb` has a glibc version dependency? HOT 2
- Silent primary key violation in the appender HOT 2
- Appending a NULL in UUID[] column panics HOT 1
- found architecture 'arm64', required architecture 'x86_64' on mac os HOT 3
- libduckdb.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 HOT 2
- Info: Deploying go-duckdb In A Distroless Docker Container
- DuckDB version mismatch in v1.6.5 release HOT 1
- Auto-load / auto-install in go-duckdb? And packaging JSON? HOT 1
- Cannot run duckdb v1.6.6 . Apache arrow lib broken HOT 1
- macos `go run` works but unable to execute the output of `go build` HOT 3
- Proposal: Support better error messages HOT 2
- How to cross-compile an application which uses DuckDB? HOT 2
- how to use duckdb_vss? HOT 2
- Appender performance hangs (> 10 minutes) when flushing HOT 4
- Upgrade arrow from v14 to v15?
- How to solve concurrent read and write without affecting each other,This is a big problem for me, please help me HOT 2
- Appender Not working. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-duckdb.