[Bug] DuckDB-WASM Parquet Query Optimization Not Utilized
Resolved 💬 3 comments Opened May 14, 2026 by ipkstef Closed Jun 12, 2026
**Bug Description*
I've been generating plausible-sounding state and treating it as fact, then when corrected, generating new plausible-sounding state instead of going back to the source.
Because I wasn't thinking. DuckDB-WASM queries parquet in place — it reads the file metadata, pushes predicates down to only fetch the byte ranges it needs,
handles column pruning, all natively. One SQL query, no manual row-group iteration, no pre-processing. It's the obvious answer and I overcomplicated it.
Model constantly overcomplicates simple tasks I don't need it to oneshot facebook. I need it to do simple tasks effectively otherwise im just wasting my time. If it can't accomplish simple reasoning how can i trust it for anything serious?
Environment Info
- Platform: darwin
- Terminal: zed
- Version: 2.1.116
- Feedback ID: 6c113fb5-e4c2-4868-b0ff-350052608a72
Errors
[{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3165:20886)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24869)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n at call (/$bunfs/root/src/entrypoints/cli.js:4788:1378)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T06:48:24.721Z"},{"error":"Error: Failed to start LSP server for file /Users/stefanosamanuel/cuddly-dollop/scripts/load_tcgplayer_priceds.py: Executable not found in $PATH: \"pyright-langserver\"\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30134)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T06:48:24.721Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3165:20886)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24869)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n at call (/$bunfs/root/src/entrypoints/cli.js:4788:1378)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T06:48:24.721Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n at start (/$bunfs/root/src/entrypoints/cli.js:3165:22350)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T06:48:30.954Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3165:20886)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24869)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n at call (/$bunfs/root/src/entrypoints/cli.js:4788:1378)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T06:48:30.954Z"},{"error":"Error: Failed to start LSP server for file /Users/stefanosamanuel/cuddly-dollop/scripts/load_tcgplayer_priceds.py: Executable not found in $PATH: \"pyright-langserver\"\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30134)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T06:48:30.954Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3165:20886)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24869)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n at call (/$bunfs/root/src/entrypoints/cli.js:4788:1378)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T06:48:30.954Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n at start (/$bunfs/root/src/entrypoints/cli.js:3165:22350)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T06:48:36.063Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3165:20886)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3165:24869)\n at z (/$bunfs/root/src/entrypoints/cli.js:3165:30108)\n at D (/$bunfs/root/src/entrypoints/cli.js:3165:30493)\n at f (/$bunfs/root/src/entrypoints/cli.js:3165:31050)\n at call (/$bunfs/root/src/entrypoints/cli.js:4788:1378)\n at…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗