Gabriel39 commented on PR #66184: URL: https://github.com/apache/doris/pull/66184#issuecomment-7125631823
Please resolve the merge conflicts with current master and implement this optimization in the format V2 readers. The current reader changes target `be/src/format/orc/vorc_reader.cpp` and `be/src/format/parquet/vparquet_group_reader.cpp`. These legacy files have been removed from master, so the reader changes need to be adapted to `be/src/format_v2/`. The optimization is still useful in V2: Parquet's dictionary-filter admission currently requires `can_evaluate_dictionary_filter()`, and ordinary comparisons only accept a direct slot/literal shape; ORC's `StringDictFilterImpl::_add_predicate()` also explicitly requires a direct slot reference. Predicates such as `split_by_string(col, '|')[1] = 'cn'` therefore still miss dictionary evaluation. Please integrate the expression admission and evaluation with V2's existing dictionary matching and dictionary-ID filtering, preserving NULL semantics, determinism, and error behavior. Please also add execution tests under `be/test/format_v2/` for both Parquet and ORC, including supported string expressions, NULL inputs, and fallback cases. -- 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]
