Function ral::operators::logicalSort

Function Documentation

std::unique_ptr<ral::frame::BlazingTable> ral::operators::logicalSort(const ral::frame::BlazingTableView &table, const std::vector<int> &sortColIndices, const std::vector<cudf::order> &sortOrderTypes)

Sorts the columns of the input table according the sortOrderTypes and sortColIndices.

————————————————————————*

Parameters
  • [in] table: table whose rows need to be compared for ordering

  • [in] sortColIndices: The vector of selected column indices to perform the sort.

  • [in] sortOrderTypes: The expected sort order for each column. Size must be equal to sortColIndices.size() or empty.