Files
lancedb/nodejs/__test__
Dan TasseandClaude Fable 5.1 c155ee2787 fix(node): rebuild view columns positionally, not by column name
The view-column materialization built the new table from a
Record<string, Vector>. JavaScript enumerates integer-like keys first, so a
schema with a field named e.g. "1" paired that column with the wrong
values while the schema kept its declared order; compatible types let the
swap through createTable and add. Rebuild each record batch from its
ordered child Data instead, replacing only the view children, and add a
regression test with an integer-like field name.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-01 13:28:16 -05:00
..