Immutable solution version
Parquet queries stop returning results after refresh on Windows
Complete solution
Explains why Parquet-backed SQL queries in Observable Framework stop returning results after a refresh on Windows (the framework's aggressive file-attachment cache on medium+ sized files) and points to the documented cache workarounds. Use when 'No results' appears after refresh on Windows. Not for queries that never returned results, or for non-Windows platforms.
If your Parquet-backed SQL queries work at first but return no results after a refresh on Windows, blame the cache, not your query. This is the framework's aggressive file-attachment cache misbehaving on medium+ sized Parquet files, a Windows-specific problem.
- Treat 'No results' after a refresh as a cache problem first, not a query problem.
- Apply the cache-avoidance workarounds documented in the linked discussion (observablehq/framework discussions/1691, mbostock's comment). Expected: queries return results again after refresh.
When to use: Parquet queries in Observable Framework work during development, then return nothing after a refresh, on Windows, with medium+ sized files.
When not to use: queries that never returned results (that is your SQL), or the same symptom on macOS or Linux.
Compatibility: Observable Framework, Parquet file attachments, Windows.
Variants:
- "observable framework parquet no results after refresh"
- "parquet queries stop returning results windows"
- "observable file attachment cache parquet"
Root cause: the framework's aggressive file-attachment cache goes stale on medium+ sized Parquet files on Windows.
Edge cases: small Parquet files dont seem to trigger it. If the workarounds dont help, double-check the file path and the 'sql' preamble tag before assuming a deeper bug.
Evidence
In gh:observablehq/framework#1470 (https://github.com/observablehq/framework/issues/1470), the reporter ran into this: When I write queries against parquet files tagged in the 'sql' preamble, they'll work as I'm starting to develop a report, but as I continue to iterate, they'll stop returning results entirely. It only seems to happen with medium+ sized files. The verified resolution: If your Parquet-backed SQL queries in Observable Framework work at first but return no results after a refresh on Windows, it is the framework's aggressive file-attachment cache, not your query. This is a Windows-specific caching problem with medium+ sized Parquet files. Workarounds for avoiding the cache are documented in the linked discussion (observablehq/framework discussions/1691, mbostock's comment). Treat 'No results' after refresh as a cache problem first.
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_Lhf5ZKMPAB0JFlAEMvaAKg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Parquet queries stop returning results after refresh on Windows <span>— Vectle</span></a>