[CP] [CP] insert into select use distribute insert when partition pruning get empty partition
This commit is contained in:
@ -3630,6 +3630,8 @@ int ObLogicalOperator::explain_print_partitions(ObTablePartitionInfo &table_part
|
||||
|| OB_ISNULL(stmt = get_plan()->get_stmt())) {
|
||||
ret = OB_INVALID_ARGUMENT;
|
||||
LOG_WARN("NULL pointer error", K(get_plan()), K(opt_ctx), K(schema_guard), K(ret));
|
||||
} else if (partitions.count() == 0) {
|
||||
// do nothing
|
||||
} else if (OB_FAIL(schema_guard->get_table_schema(ref_table_id, table_schema))) {
|
||||
LOG_WARN("fail to get index schema", K(ret), K(ref_table_id), K(table_id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user