Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move alias for column_index_t to Type.h #12477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aditi-pandit
Copy link
Collaborator

@aditi-pandit aditi-pandit commented Feb 27, 2025

Makes it simpler to use column_index_t alias in functions which use a buffer of FlatVector columns instead of a ComplexVector.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 27, 2025
Copy link

netlify bot commented Feb 27, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 91b86c5
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67c0fb1c3352cb0008eb013d

@aditi-pandit
Copy link
Collaborator Author

aditi-pandit commented Feb 27, 2025

@pedroerp @majetideepak : I'm not fixated on this change, but it could be nice for WindowFunctions and TableFunctions that use a buffer of Vectors without using ComplexVector.h

@@ -51,6 +51,11 @@ class VectorPool;
class BaseVector;
using VectorPtr = std::shared_ptr<BaseVector>;

using column_index_t = uint32_t;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds like something at type level, can we move it into Type.h?

Copy link
Collaborator Author

@aditi-pandit aditi-pandit Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Yuhta. That works as well. Have updated the code.

@aditi-pandit aditi-pandit changed the title refactor: Move alias for column_index_t to BaseVector.h refactor: Move alias for column_index_t to Type.h Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants