在追加大列表向量时发生静默的向量/行不齐 (写入器丢弃 FixedSizeList 子数组偏移)
作者: ddangelov创建于 2026年6月30日更新于 2026年9月24日
The vector column arrives as a large_list<float> (polars exports list columns as large_list). Since the table schema is fixed_size_list<float, 304>, _sanitize_data → _cast_to_target_schema (lancedb/table.py) casts each incoming RecordBatch:
yield pa.Table.from_batches([batch]).cast(reordered_schema).to_batches()[0]When a parquet file has more row groups than fit a load chunk, iter_slices yields chunks whose Arrow representation is multiple zero-copy batches, and the first
内容来源: lancedb/lancedb