mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-08-20 13:08:31 +00:00
5b69770dbc
* refactor: add field id and extension type to histogram * chore: revert histogram check * chore: lint * test: add test coverage for maybe_update_schema * feat: calculate sub field id from parent column id * refactor(mito2): guard histogram sub-field ids and cover parquet footer Address review on #8528: - native_histogram: derive sub-field ids with checked arithmetic. The SST writer now surfaces a new InvalidNativeHistogramSubfield error when a sub-field id cannot be resolved (unknown name or i32 overflow) instead of silently dropping the id or wrapping. maybe_wrap_schema is now fallible. - sst: add parquet writer/footer round-trip tests asserting the greptime.histogram extension and nested PARQUET:field_id (incl. list elements) survive on disk, and a non-canonical struct is left untouched. - sst: fix a broken rustdoc link to stamp_native_histogram_subfield_ids. Signed-off-by: Ning Sun <sunning@greptime.com> * fix: return error when fail to get i32 column id --------- Signed-off-by: Ning Sun <sunning@greptime.com>