mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 06:12:55 +00:00
* fix/interval-cast-rewrite: ### Enhance Interval Parsing and Casting - **`create_parser.rs`**: Added a test case `test_parse_interval_cast` to verify the parsing of interval casts. - **`expand_interval.rs`**: Refactored interval casting logic to handle `CastKind` and `format` attributes. Removed the `create_interval` function and integrated its logic directly into the casting process. - **`interval.result`**: Updated test results to reflect changes in interval representation, switching from `IntervalMonthDayNano` to `Utf8` format for interval operations. * reformat code