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
{{ message }}
Repository navigation
Commit 875eef5
Browse filesBrowse the repository at this point in the historyBrowse files
fix(tables): fix CsvColumnType type drift and a CSV number-import whitespace bug
CsvColumnType was a hand-duplicated, narrower copy of COLUMN_TYPES and
had silently drifted to exclude 'select' — papered over at its one
call site with an unsafe `as CsvColumnType` cast. Split it into two
honestly-scoped types: ColumnType (= COLUMN_TYPES, what a CSV cell's
target column can actually be) and InferableColumnType (the 4 types
inferColumnType can actually guess from raw text, declared
independently so it can't silently inherit types it was never taught
to detect).
Also fixes a real divergence found in the process: coerceValue's
number case ran Number(value) without guarding whitespace-only input
first, so a blank CSV cell imported as 0 instead of null.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments