Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
reduce codegen in multiple-key sort
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-mo committed Feb 7, 2021
1 parent 7d8f210 commit fef825f
Show file tree
Hide file tree
Showing 2 changed files with 502 additions and 8 deletions.
5 changes: 5 additions & 0 deletions cpp/src/codegen/arrow_compute/ext/code_generator_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#pragma once
#include "codegen/common/result_iterator.h"
#include "precompile/array.h"

class SortRelation;
class GandivaProjector;
Expand Down Expand Up @@ -45,6 +46,10 @@ class CodeGenBase {
return arrow::Status::NotImplemented("CodeGenBase Finish is an abstract interface.");
}

virtual arrow::Status FinishInternal(std::shared_ptr<precompile::FixedSizeBinaryArray>* out) {
return arrow::Status::NotImplemented("CodeGenBase FinishInternal is an abstract interface.");
}

virtual arrow::Status MakeResultIterator(
std::shared_ptr<arrow::Schema> schema,
std::shared_ptr<ResultIterator<arrow::RecordBatch>>* out) {
Expand Down
Loading

0 comments on commit fef825f

Please sign in to comment.