Skip to content

Commit

Permalink
refactor: Move alias for column_index_t to BaseVector.h
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-pandit committed Feb 27, 2025
1 parent 223777e commit e59142a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions velox/vector/BaseVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ class VectorPool;
class BaseVector;
using VectorPtr = std::shared_ptr<BaseVector>;

using column_index_t = uint32_t;

constexpr column_index_t kConstantChannel =
std::numeric_limits<column_index_t>::max();

/// Set of options that validate() accepts.
struct VectorValidateOptions {
/// If set to true then an unloaded lazy vector is loaded and validate is
Expand Down
5 changes: 0 additions & 5 deletions velox/vector/ComplexVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@

namespace facebook::velox {

using column_index_t = uint32_t;

constexpr column_index_t kConstantChannel =
std::numeric_limits<column_index_t>::max();

class RowVector : public BaseVector {
public:
RowVector(const RowVector&) = delete;
Expand Down

0 comments on commit e59142a

Please sign in to comment.