Caideyipi opened a new pull request, #18227: URL: https://github.com/apache/iotdb/pull/18227
## Description ### Problem For table-model topics with `format=dataset` and `mode=consensus`, DATE columns in WAL insert nodes are represented as `int[]`. `ConsensusLogToTabletConverter` reused those arrays in a TsFile `Tablet`, whose DATE serialization requires `LocalDate[]`. The resulting array type mismatch prevented subscription events from being generated, so pull consumers repeatedly received no messages. Reproduction: https://gitlab-eco.timecho.com/test/pipe-client/-/commit/1dcc9ccbbb2e6ee1ab8e8c95231dd05e314d08f4 ### Fix - Convert DATE columns from the WAL `int[]` representation to the Tablet `LocalDate[]` representation. - Preserve null semantics by skipping bitmap-marked positions during conversion. - Apply the same representation boundary to row-based consensus conversions while retaining already-normalized `LocalDate` values. ### Tests - Added a regression test using the reported `2026-01-31` DATE value. - The test serializes and deserializes the converted Tablet to verify the dataset payload path. - `ConsensusLogToTabletConverterTest`: 13 tests passed. - Reactor build for `iotdb-core/datanode` and required upstream modules passed. <hr> This PR has: - [x] been self-reviewed. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage. <hr> ##### Key changed/added classes (or packages if there are too many classes) in this PR - `ConsensusLogToTabletConverter` - `ConsensusLogToTabletConverterTest` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
