push 3.3.19 to github (#193)

* push 3.3.19 to github

* merge to 20ed420122a8283200aa37b0a6179b6a571d2837
This commit is contained in:
morningman
2018-05-15 20:38:22 +08:00
committed by Zhao Chun
parent e684ae9b49
commit 2419384e8a
467 changed files with 40454 additions and 17248 deletions

View File

@ -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,