From 96555d3da738eac3d13adce18aef5ee0eb2d03f9 Mon Sep 17 00:00:00 2001 From: Laith Sakka Date: Tue, 21 Jun 2022 09:28:18 -0700 Subject: [PATCH] Rename ChannelIndex to column_index_t (#388) Summary: Pull Request resolved: https://github.com/pytorch/torcharrow/pull/388 X-link: https://github.com/facebookexternal/presto_cpp/pull/775 X-link: https://github.com/facebookincubator/velox/pull/1811 title. Reviewed By: mbasmanova Differential Revision: D37129633 fbshipit-source-id: 3788f8111c561bb9fc85d5f5489e455872e45171 --- csrc/velox/column.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }