• E
    CDBlize the cherry-pick e006a24a · 0feb1bd9
    Ekta Khanna 提交于
    Original Flow:
    cdb_flatten_sublinks
    	+--> pull_up_IN_clauses
    		+--> convert_sublink_to_join
    
    New Flow:
    cdb_flatten_sublinks
    	+--> pull_up_sublinks
    
    This commit contains relevant changes for the above flow.
    
    Previously, `try_join_unique` was part of `InClauseInfo`. It was getting
    set in `convert_IN_to_join()` and used in `cdb_make_rel_dedup_info()`.
    Now, since `InClauseInfo` is not present and we construct
    `FlattenedSublink` instead in `convert_ANY_sublink_to_join()`. And later
    in the flow, we construct `SpecialJoinInfo` from `FlattenedSublink` in
    `deconstruct_sublink_quals_to_rel()`. Hence, adding `try_join_unique` as
    part of both `FlattenedSublink` and `SpecialJoinInfo`.
    
    Ref [#142355175]
    Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
    0feb1bd9
prepjointree.c 56.6 KB