Closed niger-prequel closed 11 months ago
Thanks for bringing this up. The newly introduced state with the value 3
is DUCKDB_PENDING_NO_TASKS_AVAILABLE
. There is currently a PR open that addresses the new API (currently DUCKDB_PENDING_NO_TASKS_AVAILABLE is still missing). The problem with 0.9.0 is, that the amalgamation file is too big to be compiled on the open-source Github runners.
Just because I'm curious: have you build 0.9.0 locally?
We actually built it in a docker container on a Github action runner 🤔
Open-source runner or paid runner inside an organization? Because the first one is not powerful enough. That's why go-duckdb based on DuckDB 0.9.0 is currently not released yet.
We don't use self hosted runners yet. So its the standard runner, not one of the larger ones. I can confirm we had a build of 0.9.0 succeed yesterday. The build took ~44 minutes. We did our build within a Debian docker container and we only build with a certain set of extensions (JSON, Parquet, ICU). Maybe there is something different about that setup that works within Github Actions default constraints.
@niger-prequel go-duckdb
v1.5.1 with DuckDB 0.9.1 and a fix for the missing state has just been released. Could you please check if your problem is resolved now?
Yes, I managed to fix it earlier by pinning the go mod to the head of the 0.9.0 branch and we were able to release that smoothly. So I'm fairly sure the official release should be fine.
When running the following SQL
Our go program panics with
That panic can be found here. My guess is that 0.9.0 introduces a new
state
with value3
for which there isn't a constant and switch case.