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

Use a proper namespace for this project #46

Merged
merged 6 commits into from
Jul 19, 2024
Merged

Use a proper namespace for this project #46

merged 6 commits into from
Jul 19, 2024

Conversation

felipecrv
Copy link
Contributor

Instead of defining symbols inside of the namespace of the projects we use (e.g. arrow). There are two problems with this: risk of nasty linker errors if symbols collide and difficulties in understanding from which project a symbol comes from (is it a class defined in this project or a class from Arrow).

Defining template aliases in headers is not recommended, but for convenience one alias is defined: flight = arrow::flight since we reference this namespace a lot from the code. Many aliases that were defined in .h files are now removed.

Copy link
Contributor

@prmoore77 prmoore77 left a comment

Choose a reason for hiding this comment

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

Wow - you did a lot of work, @felipecrv ! It looks great - I've learned a lot already from you. Thanks!

@prmoore77 prmoore77 merged commit ffe2690 into main Jul 19, 2024
3 of 5 checks passed
@prmoore77 prmoore77 deleted the namespace branch July 19, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants