fix pdml error when target table is partitioned by functions, instead of ref columns

This commit is contained in:
raywill
2022-04-08 14:01:42 +08:00
committed by LINxiansheng
parent 76ae3d87cd
commit 5ac5277876
7 changed files with 130 additions and 14 deletions

View File

@ -1741,6 +1741,10 @@ public:
const common::ObIArray<ObRawExpr*>& target_join_key, const ObShardingInfo& target_sharding,
ObRawExprFactory& expr_factory, ObExchangeInfo& exch_info);
int compute_repartition_func_info_for_insert(const ObIArray<ObRawExpr *> &src_keys,
const ObIArray<ObRawExpr *> &target_keys, const ObShardingInfo &target_sharding, ObRawExprFactory &expr_factory,
ObExchangeInfo &exch_info);
int get_repartition_keys(const EqualSets& equal_sets, const common::ObIArray<ObRawExpr*>& src_keys,
const common::ObIArray<ObRawExpr*>& target_keys, const common::ObIArray<ObRawExpr*>& target_part_keys,
common::ObIArray<ObRawExpr*>& src_part_keys);