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
[Bug]: load parquet file report 'internal error: convert go error to mo error reading parquet file metadata'. #23598
:~/Documents/mo-big-data$ mysql -h 127.0.0.1 -u dump -P 6001 -p111
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 8.0.30-MatrixOne-v1.3.0 MatrixOne
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MySQL [(none)]> load data infile {'filepath'='/home/pengzhen/Documents/mo-big-data/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'} into table big_data_test.parquet_massive_conversions;
Query OK, 30970 rows affected (0.254 sec)
MySQL [(none)]> load data infile {'filepath'='/home/pengzhen/Documents/mo-big-data/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'} into table big_data_test.parquet_massive_conversions;
Query OK, 30970 rows affected (0.227 sec)
MySQL [(none)]> load data infile {'filepath'='/home/pengzhen/Documents/mo-big-data/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'} into table big_data_test.parquet_massive_conversions;
Query OK, 30970 rows affected (0.214 sec)
MySQL [(none)]> load data infile {'filepath'='/home/pengzhen/Documents/mo-big-data/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'} into table big_data_test.parquet_massive_conversions;
Query OK, 30970 rows affected (0.203 sec)
:~/Documents/mo-big-data$ mysql -h 127.0.0.1 -u dump -P 6001 -p111
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 1616
Server version: 8.0.30-MatrixOne-v MatrixOne
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MySQL [(none)]> load data infile {'filepath'='/home/pengzhen/Documents/mo-big-data/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'}
-> into table big_data_test.parquet_massive_conversions;
Query OK, 30970 rows affected (0.135 sec)
MySQL [(none)]> load data infile {'filepath'='/home/pengzhen/Documents/mo-big-data/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'} into table big_data_test.parquet_massive_conversions;
Query OK, 30970 rows affected (0.125 sec)
MySQL [(none)]> load data infile {'filepath'='/home/pengzhen/Documents/mo-big-data/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'} into table big_data_test.parquet_massive_conversions;
Query OK, 30970 rows affected (0.127 sec)
Tested on main branch, commit 20346cae7 (2026-05-15, "perf(replace): reduce allocations and vector copies in REPLACE INTO hot path").
Test file:parquet_massive_conversions_3_17mb.parquet (3.17 MB, 30,970 rows, 26 columns) from the attachment above.
LOAD DATA INFILE {'filepath'='/tmp/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'} INTO TABLE parquet_massive_conversions;
-- Result: 30970 rows loaded, no error
Cannot reproduce. Load succeeded without any internal error: convert go error to mo error reading parquet file metadata error. The original issue was likely caused by a malformed parquet file.
Activity
daviszhen commentedon May 12, 2026
原始数据丢失
daviszhen commentedon May 12, 2026
未复现.
可能是生成的parquet文件本身就有问题.
按要求用ai生成了新的 数据文件 并且 导入成功. parquet_massive_conversions_3_17mb.parquet.tar.gz
issue的commit: 9df85e1 加载成功
比较新的commit: 95f7584 加载成功.
Ariznawlll commentedon May 15, 2026
Verification
Tested on
mainbranch, commit20346cae7(2026-05-15, "perf(replace): reduce allocations and vector copies in REPLACE INTO hot path").Test file:
parquet_massive_conversions_3_17mb.parquet(3.17 MB, 30,970 rows, 26 columns) from the attachment above.LOAD DATA INFILE {'filepath'='/tmp/parquet_massive_conversions_3_17mb.parquet', 'format'='parquet'} INTO TABLE parquet_massive_conversions; -- Result: 30970 rows loaded, no errorCannot reproduce. Load succeeded without any
internal error: convert go error to mo error reading parquet file metadataerror. The original issue was likely caused by a malformed parquet file.Ariznawlll commentedon May 15, 2026
先关闭,后面出现再跟踪。