You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I am frustrated when trying to build StringArrays using the StringBuilder.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I am frustrated when trying to build
StringArray
s using theStringBuilder
.Specifically, yhere are some places I have to / find it more convenience to use a builder (rather than the
From
impl) to buildStringArray
s, such as https://github.com/influxdata/influxdb_iox/blob/main/server/src/db/system_tables.rs#L125 where we are building system tables in IOXWith
PrimitiveArrayBuilder
based builders such asUInt64Builder
, I can use theappend_option
function in the following way:Which is 👍
However, since there is no corresponding
append_option
onGenericStringBuilder
I have have to do something this which takes more time and is 👎Describe the solution you'd like
Add a function
StringBuilder::append_option
that takesOption<AsRef<str>>
Describe alternatives you've considered
Continued frustration :)
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: