You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2022/04/20 02:55:00 UTC
[jira] [Updated] (ARROW-15629) [GLib] Add garrow_{,large_}string_array_builder_append_string_len()
[ https://issues.apache.org/jira/browse/ARROW-15629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kouhei Sutou updated ARROW-15629:
---------------------------------
Summary: [GLib] Add garrow_{,large_}string_array_builder_append_string_len() (was: [GLib] Add garrow_string_array_builder_append_string_n())
> [GLib] Add garrow_{,large_}string_array_builder_append_string_len()
> -------------------------------------------------------------------
>
> Key: ARROW-15629
> URL: https://issues.apache.org/jira/browse/ARROW-15629
> Project: Apache Arrow
> Issue Type: New Feature
> Components: GLib
> Affects Versions: 6.0.1, 7.0.0
> Reporter: Rob Saccoccio
> Assignee: Rob Saccoccio
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The existing garrow_string_array_builder_append_string() function takes a null-terminated string. I have strings that are not null-terminated and a length. I propose adding the function:
> {code:c}
> gboolean
> garrow_string_array_builder_append_string_n(GArrowStringArrayBuilder *builder,
> const gchar *value,
> gint32 length,
> GError **error)
> {code}
> I'll post a PR shortly.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)