-
Notifications
You must be signed in to change notification settings - Fork 3.8k
GH-46207: [C++] Rename arrow::util::StringBuilder and move to internal namespace #46813
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling the work.
Part of the current problem on CI is with calling the file *_internal.h
. The header file won't be installed and this is used on some of the bindings which requires it. We can move the namespace to arrow::internal
but keep installing the header file, probably naming the files string_util.cc
and string_util.h
?
Thank you for your review. Let me take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this. Just one suggestion, otherwise LGTM.
cpp/src/arrow/util/string_util.h
Outdated
|
||
namespace internal { | ||
namespace detail { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The detail
namespace is now superfluous given there's already an enclosing internal
namespace.
Signed-off-by: Ziy1-Tan <[email protected]>
Signed-off-by: Ziy1-Tan <[email protected]>
Rationale for this change
arrow::util::StringBuilder
to internal namespace to avoid confusion with classarrow::StringBuilder
What changes are included in this PR?
arrow::util::StringBuilder
toarrow::internal::StringBuilder
arrow::internal::StringBuilder
toarrow::internal::JoinToString
arrow/util/string_builder.{h|cc}
toarrow/util/string_util_internal.{h|cc}
Are these changes tested?
Yes.
Are there any user-facing changes?
No. they are used internally.