mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-14 17:23:09 +00:00
* fix/apply-string-validation-to-pipeline: ### Commit Summary - **Refactor `decode_string` Functionality**: - Moved `decode_string` logic into `PromValidationMode` as a method `decode_string`. - Updated all references to use the new method. - Files affected: `http.rs`, `prom_row_builder.rs`, `proto.rs`. - **Logging Enhancements**: - Added `debug` logging for invalid UTF-8 string values. - File affected: `http.rs`. - **Test Updates**: - Modified tests to use the new `decode_string` method in `PromValidationMode`. - File affected: `proto.rs`. Signed-off-by: Lei, HUANG <mrsatangel@gmail.com> * fix clippy Signed-off-by: Lei, HUANG <mrsatangel@gmail.com> --------- Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>