diff --git a/csrc/velox/column.h b/csrc/velox/column.h index e3c744c71..6123e0d4b 100644 --- a/csrc/velox/column.h +++ b/csrc/velox/column.h @@ -770,12 +770,12 @@ class RowColumn : public BaseColumn { velox::vector_size_t length) : BaseColumn(other, offset, length) {} - std::unique_ptr childAt(velox::ChannelIndex index) { + std::unique_ptr childAt(velox::column_index_t index) { auto dataPtr = _delegate.get()->as(); return createColumn(dataPtr->childAt(index), _offset, _length); } - void setChild(velox::ChannelIndex index, const BaseColumn& new_child) { + void setChild(velox::column_index_t index, const BaseColumn& new_child) { auto dataPtr = _delegate.get()->as(); dataPtr->children()[index] = new_child._delegate; }