push 3.3.19 to github (#193)
* push 3.3.19 to github * merge to 20ed420122a8283200aa37b0a6179b6a571d2837
This commit is contained in:
@ -30,14 +30,14 @@ SortNode::SortNode(ObjectPool* pool, const TPlanNode& tnode, const DescriptorTbl
|
||||
: ExecNode(pool, tnode, descs),
|
||||
_offset(tnode.sort_node.__isset.offset ? tnode.sort_node.offset : 0),
|
||||
_num_rows_skipped(0) {
|
||||
Status status = init(tnode);
|
||||
Status status = init(tnode, nullptr);
|
||||
DCHECK(status.ok()) << "SortNode c'tor:init failed: \n" << status.get_error_msg();
|
||||
}
|
||||
|
||||
SortNode::~SortNode() {
|
||||
}
|
||||
|
||||
Status SortNode::init(const TPlanNode& tnode) {
|
||||
Status SortNode::init(const TPlanNode& tnode, RuntimeState* state) {
|
||||
const vector<TExpr>* sort_tuple_slot_exprs = tnode.sort_node.__isset.sort_tuple_slot_exprs ?
|
||||
&tnode.sort_node.sort_tuple_slot_exprs : NULL;
|
||||
RETURN_IF_ERROR(_sort_exec_exprs.init(tnode.sort_node.ordering_exprs,
|
||||
|
||||
Reference in New Issue
Block a user