Closed mnsrulz closed 1 year ago
Thanks for the detailed bug report! I was able to reproduce it. I've fixed up a couple things in the DuckDB adapter to accommodate certain things that datasette-graphql does (via its sqlite-utils dependency)
I published new version 0.6 with the fix. It worked for me locally, but when I tried it on my demo site at https://dux.fly.dev/graphql/parquet?query=%7B%20%0A%20%20taxis%20%7B%0A%20%20%20%20nodes%20%7B%0A%20%20%20%20%20%20VendorID%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D, I'm getting an error.
So, YMMV. Depending on what you're doing, the new version might work. I'll try to chase down the new error, too.
metadata.json
run.sh
Dockerfile
After running it in browser it lists the view names appropriately but errored when I navigate to any view (/trove/yellow_tripdata_2009-01) with this error
Catalog Error: unrecognized configuration parameter "recursive_triggers" Did you mean: "user"
If I remove either of the graphql package it works again.. Not sure but something is clashing when both packages being used so I am not entirely sure if it's a problem in graphql package or parquet package.