[FEAT MERGE] Support external table
Co-authored-by: jingtaoye35 <1255153887@qq.com>
This commit is contained in:
@ -1433,7 +1433,9 @@ ObPushdownExprSpec::ObPushdownExprSpec(ObIAllocator &alloc)
|
||||
pushdown_filters_(alloc),
|
||||
pd_storage_flag_(0),
|
||||
pd_storage_filters_(alloc),
|
||||
pd_storage_aggregate_output_(alloc)
|
||||
pd_storage_aggregate_output_(alloc),
|
||||
ext_file_column_exprs_(alloc),
|
||||
ext_column_convert_exprs_(alloc)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1451,7 +1453,9 @@ OB_DEF_SERIALIZE(ObPushdownExprSpec)
|
||||
pd_storage_flag_,
|
||||
pd_storage_filters_,
|
||||
fake_pd_storage_index_back_filters, //mock a fake filters to compatible with 4.0
|
||||
pd_storage_aggregate_output_);
|
||||
pd_storage_aggregate_output_,
|
||||
ext_file_column_exprs_,
|
||||
ext_column_convert_exprs_);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -1469,7 +1473,9 @@ OB_DEF_DESERIALIZE(ObPushdownExprSpec)
|
||||
pd_storage_flag_,
|
||||
pd_storage_filters_,
|
||||
fake_pd_storage_index_back_filters, //mock a fake filters to compatible with 4.0
|
||||
pd_storage_aggregate_output_);
|
||||
pd_storage_aggregate_output_,
|
||||
ext_file_column_exprs_,
|
||||
ext_column_convert_exprs_);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -1487,7 +1493,9 @@ OB_DEF_SERIALIZE_SIZE(ObPushdownExprSpec)
|
||||
pd_storage_flag_,
|
||||
pd_storage_filters_,
|
||||
fake_pd_storage_index_back_filters, //mock a fake filters to compatible with 4.0
|
||||
pd_storage_aggregate_output_);
|
||||
pd_storage_aggregate_output_,
|
||||
ext_file_column_exprs_,
|
||||
ext_column_convert_exprs_);
|
||||
return len;
|
||||
}
|
||||
|
||||
|
||||
@ -528,6 +528,8 @@ public:
|
||||
~ObPushdownExprSpec() = default;
|
||||
TO_STRING_KV(K_(calc_exprs),
|
||||
K_(access_exprs),
|
||||
K_(ext_file_column_exprs),
|
||||
K_(ext_column_convert_exprs),
|
||||
K_(max_batch_size),
|
||||
K_(pushdown_filters),
|
||||
K_(pd_storage_flag));
|
||||
@ -549,6 +551,9 @@ public:
|
||||
ObPushdownFilter pd_storage_filters_;
|
||||
// used to pushdown aggregate expression now.
|
||||
ExprFixedArray pd_storage_aggregate_output_;
|
||||
// used by external table
|
||||
ExprFixedArray ext_file_column_exprs_;
|
||||
ExprFixedArray ext_column_convert_exprs_;
|
||||
};
|
||||
|
||||
//下压到存储层的表达式执行依赖的op ctx
|
||||
|
||||
Reference in New Issue
Block a user