This is an automated email from the ASF dual-hosted git repository.

englefly pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new a7765d23766 [fix](nereids) topN filter: use ObjectId as map key 
instead of Topn node  (#46551) (branch-3.0) (#46585)
a7765d23766 is described below

commit a7765d23766a7c4cb8556f0de3fe4807312013e3
Author: minghong <zhoumingh...@selectdb.com>
AuthorDate: Wed Jan 8 17:48:03 2025 +0800

    [fix](nereids) topN filter: use ObjectId as map key instead of Topn node  
(#46551) (branch-3.0) (#46585)
    
    pick#46551
    
    ### What problem does this PR solve?
    Plan node is not good to be hash map key, because two plan nodes in
    different tree level may be regarded as "equal". for example, in
    following tree, topn1.equals(topn2) may be true.
     Topn filter generator should distinguish them, and hence topn
    node is not suitable to be used as hash map key.
    
    topn1
        -->some node
            -->topn2
                 -->other node
    
    Related PR: #31485
    
    (cherry picked from commit 811f93682d58eae76f87c411fcb2a572f03b2c92)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to