Repository navigation
Description
Problem
MatrixOne LOAD DATA INFILE from a Parquet file with a nullable list<double> embedding column reports an incorrect vector dimension and refuses to load the data.
The same failure is reproducible locally with the latest MatrixOne main. The Parquet file contains 1536-dimensional vectors, but MatrixOne reports the actual dimension as 512.
Environment
- MatrixOne commit:
aeee7db5099b4347a5c2e5f8d3e4785d76884100 - Commit:
fix: close expression result contract regressions (#29075) - Docker image:
matrixorigin/matrixone:main-aeee7db5099b - Server version:
8.0.30-MatrixOne-v1.3.0 - Single-node Docker deployment on Docker Desktop
- Parquet file: VectorDBBench
openai/openai_small_50k/shuffle_train.parquet - File size: 449,785,510 bytes
- Local SHA-256:
676b35e36866baee396d63680b0beaa42065230ff7dde89ddab06f9beb26cd25
PyArrow inspection of the file:
rows: 50000
schema:
id: int64
emb: list<item: double>
sample embedding dimension: 1536
Reproduction
Mount the Parquet file into the MatrixOne container as /datasets/shuffle_train.parquet, then execute:
DROP DATABASE IF EXISTS vdbbench_adapter_test;
CREATE DATABASE vdbbench_adapter_test;
USE vdbbench_adapter_test;
CREATE TABLE vdbbench (
id BIGINT PRIMARY KEY,
v VECF32(1536) NOT NULL
);
ALTER TABLE vdbbench RENAME COLUMN v TO emb;
ALTER TABLE vdbbench MODIFY COLUMN emb VECF32(1536);
LOAD DATA INFILE {'filepath'='/datasets/shuffle_train.parquet', 'format'='parquet'}
INTO TABLE vdbbench;The VectorDBBench MatrixOne adapter uses this same sequence before native Parquet loading.
Actual result
ERROR 20301 (HY000):
invalid input: expected vector dimension 1536 != actual dimension 512
The table definition immediately before loading is:
emb vecf32(1536) DEFAULT NULL
Expected result
All 50,000 rows should be loaded successfully, with each emb value converted from a 1536-element Parquet list to VECF32(1536).
Impact
This blocks VectorDBBench native Parquet loading before index creation and search. The same pattern was also observed in the Cohere 10M workflow: the file was independently verified as 768-dimensional, while MatrixOne reported actual dimension 512.
The error is generated by the MatrixOne server-side Parquet nested-list/vector conversion path, not by the Python client or the external dimension checker. The reported 512 is not the dimension in the source file.
Activity
fix: load parquet vectors across data pages (#29111)
daviszhen commentedon Sep 20, 2026
fixed