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
[Subtask]: support parquet Dictionary encoding #22693
Activity
feat: support Parquet dictionary encoding (#28858)
Ariznawlll commentedon Sep 16, 2026
测试版本
mainb347a62a30719cf3f2c8ca5a2da0dcfb11639f8c原问题验证
针对 Dictionary-encoded Parquet fixture 执行
LOAD DATA,fixture 同时包含 dictionary 编码的INT64、DOUBLE、BOOLEAN和 nullableBOOLEAN列。输入文件 SHA-1 为aeb9728e5ecc79c42a52fd4c9ba8375ce46176f6,共 4 行。相同加载和聚合断言独立重复 3 次。Happy Path 覆盖
COUNT(*)=4、整数MIN/MAX=1/3、浮点MIN/MAX=1.5/3.5、必填 BOOLEAN 的真值数为3、nullable BOOLEAN 的非 NULL 行数为3、真值数为2。各列的 dictionary value、类型转换和 NULL 状态均正确。(1,1.5,1,1)、(1,1.5,1,0)、(2,2.5,0,NULL)、(3,3.5,0,1);重复 dictionary value1/1.5没有丢失或串列。4, 1, 3, 1.5, 3.5, 2, 3, 2,结果与首次一致。Unhappy Path 覆盖
NOT NULL目标列被约束拒绝;失败后重新查询目标表为 0 行,证明拒绝没有部分写入。白盒验证
不适用:本 issue 的可观察契约是
LOAD DATA对 Dictionary-encoded Parquet 列的解码和原子写入,已由公开 SQL 接口直接覆盖;无需故障注入才能到达该路径。回归测试
现有分布式回归用例
test/distributed/cases/load_data/parquet_dictionary.sql已覆盖该类别;本轮未新增重复 case。测试证据
本次独立 fixture 的加载与聚合输出为:
4, 1, 3, 1.5, 3.5, 2, 3, 2;逐行值、nullable BOOLEAN 计数、三次重复结果及NOT NULL拒绝后的 0 行目标表均按上文记录完成核对。相关 SQL 回归资产见上述固定 SHA 链接。测试结论
测试通过。
feat: support Parquet dictionary encoding (matrixorigin#28858)
feat: support Parquet dictionary encoding (matrixorigin#28858)
feat: support Parquet dictionary encoding (matrixorigin#28858)