yujun777 commented on PR #71440: URL: https://github.com/apache/doris/pull/71440#issuecomment-7441562929
Thanks for the review! - **Non-strict `VARCHAR` truncation (`enable_insert_strict=false`)**: Fixed in `dbfd578ce86`. `isApplyKeyTypeCompatible` now skips `VARCHAR` visible MV key conjuncts when `enable_insert_strict` is `false`, so silent write-time truncation of computed `VARCHAR` group keys cannot miss an existing MV group. Added unit test coverage in `IvmAggDeltaHandlerTest#testApplyJoinSkipsVarcharKeyWhenInsertStrictDisabled`. - **Single nullable `VARCHAR` key on a row-id-distributed MV**: Intentionally kept as-is. This only happens when the user explicitly declares `KEY(k)` on the MV, and keeping the `NullSafeEqual` conjunct on the leading visible key column preserves storage prefix-index / zonemap pruning on `KEY(k)` when reading the MV. run buildall /review -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
