8000
refactor(common): consolidate
refactor(common): consolidate interval
protobuf encode/decode logic
#8452
Labels
Milestone
As with other
PrimitiveArrayItemType
, aninterval
value is encoded to and decoded from protobuf in the following:risingwave/src/common/src/types/interval.rs
Lines 196 to 201 in 630685f
risingwave/proto/data.proto
Lines 111 to 117 in 630685f
risingwave/src/common/src/array/column_proto_readers.rs
Lines 100 to 113 in 953e4b2
However, as a special case, when it is part of
HopWindow
, there exists another code path:risingwave/src/common/src/types/interval.rs
Lines 515 to 534 in 630685f
risingwave/proto/data.proto
Lines 10 to 14 in 630685f
It is better to consolidate them, although we do not foresee many future changes except #4514 and the maintenance cost of keeping them in sync may not be high.
The text was updated successfully, but these errors were encountered: