Spec placeholder for sql exec spill compression

This commit is contained in:
hezuojiao
2024-05-07 15:15:44 +00:00
committed by ob-robot
parent b922437256
commit 910978265f
4 changed files with 6 additions and 5 deletions

View File

@ -127,7 +127,8 @@ ObOpSpec::ObOpSpec(ObIAllocator &alloc, const ObPhyOperatorType type)
plan_depth_(0),
max_batch_size_(0),
need_check_output_datum_(false),
use_rich_format_(false)
use_rich_format_(false),
compress_type_(NONE_COMPRESSOR)
{
}
@ -148,7 +149,8 @@ OB_SERIALIZE_MEMBER(ObOpSpec,
plan_depth_,
max_batch_size_,
need_check_output_datum_,
use_rich_format_);
use_rich_format_,
compress_type_);
DEF_TO_STRING(ObOpSpec)
{

View File

@ -345,6 +345,7 @@ public:
int64_t max_batch_size_;
bool need_check_output_datum_;
bool use_rich_format_;
ObCompressorType compress_type_;
private:
DISALLOW_COPY_AND_ASSIGN(ObOpSpec);

View File

@ -39,8 +39,7 @@ ObSortSpec::ObSortSpec(common::ObIAllocator &alloc, const ObPhyOperatorType type
is_fetch_with_ties_(false),
prescan_enabled_(false),
enable_encode_sortkey_opt_(false),
part_cnt_(0),
compress_type_(NONE_COMPRESSOR)
part_cnt_(0)
{}
OB_SERIALIZE_MEMBER((ObSortSpec, ObOpSpec),

View File

@ -59,7 +59,6 @@ public:
bool enable_encode_sortkey_opt_;
// if use, all_exprs_ is : hash(part_by) + part_by + order_by.
int64_t part_cnt_;
ObCompressorType compress_type_;
};
class ObSortOp : public ObOperator