• H
    Remove PartOidExpr, it's not used in GPDB. (#2481) · 941327cd
    Heikki Linnakangas 提交于
    * Remove PartOidExpr, it's not used in GPDB.
    
    The target lists of DML nodes that ORCA generates includes a column for the
    target partition OID. It can then be referenced by PartOidExprs. ORCA uses
    these to allow sorting the tuples by partition, before inserting them to the
    underlying table. That feature is used by HAWQ, where grouping tuples that
    go to the same output partition is cheaper.
    
    Since commit adfad608, which removed the gp_parquet_insert_sort GUC, we
    don't do that in GPDB, however. GPDB can hold multiple result relations open
    at the same time, so there is no performance benefit to grouping the tuples
    first (or at least not enough benefit to counterbalance the cost of a sort).
    
    So remove the now unused support for PartOidExpr in the executor.
    
    * Bump ORCA version to 2.37
    Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
    
    * Removed acceptedLeaf
    Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
    941327cd
CTranslatorDXLToScalar.h 9.5 KB