You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves the 6 P2 review findings:
core (packages/core/src/ops/sql.ts):
- Only rewrite path literals in FROM/JOIN table position, never value-position
strings — `WHERE x = '/data/sales.csv'` is no longer clobbered.
- Honor a real .gz suffix even when the format is explicitly overridden, so the
temp file keeps its .gz extension and DuckDB decompresses it.
- Uniquify duplicate result column names (e.g. two projected `id`s) so building
row objects never drops data by key collision.
live (sql-engine):
- formatForPath strips an optional .gz suffix (and deriveTableName too); the
document picker adds .gz globs — gzipped text docs are pickable/seedable.
- Browser-engine file registration keys on the current file revision (stat),
so an edited doc re-registers instead of serving a stale buffer.
- canRunInBrowser is query-aware: a FROM/JOIN path literal that isn't a bound
doc routes to the server (only it auto-binds bare path literals).
+ tests for path-literal scoping, gzip override, and duplicate columns.
0 commit comments