kou commented on a change in pull request #12382:
URL: https://github.com/apache/arrow/pull/12382#discussion_r803119793



##########
File path: c_glib/arrow-glib/array-builder.h
##########
@@ -754,6 +754,14 @@ GARROW_AVAILABLE_IN_0_16
 gboolean garrow_string_array_builder_append_string(GArrowStringArrayBuilder 
*builder,
                                                    const gchar *value,
                                                    GError **error);
+
+GARROW_AVAILABLE_IN_7_0

Review comment:
       ```suggestion
   GARROW_AVAILABLE_IN_8_0
   ```

##########
File path: c_glib/arrow-glib/array-builder.cpp
##########
@@ -3328,13 +3328,36 @@ gboolean
 garrow_string_array_builder_append_string(GArrowStringArrayBuilder *builder,
                                           const gchar *value,
                                           GError **error)
+{
+  return garrow_string_array_builder_append_string_n(builder,
+                                                     value,
+                                                     
static_cast<gint32>(strlen(value)),
+                                                     error);
+}
+
+/**
+ * garrow_string_array_builder_append_string_n:
+ * @builder: A #GArrowStringArrayBuilder.
+ * @value: A string value.
+ * @length: The length of the string value.
+ * @error: (nullable): Return location for a #GError or %NULL.
+ *
+ * Returns: %TRUE on success, %FALSE if there was an error.
+ *
+ * Since: 7.1.0

Review comment:
       ```suggestion
    * Since: 8.0.0
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to