diff --git a/c_glib/parquet-glib/arrow-file-writer.cpp b/c_glib/parquet-glib/arrow-file-writer.cpp index bc264bc9f5ec9..6c95488a0e7bd 100644 --- a/c_glib/parquet-glib/arrow-file-writer.cpp +++ b/c_glib/parquet-glib/arrow-file-writer.cpp @@ -98,7 +98,7 @@ gparquet_writer_properties_new(void) * gparquet_writer_properties_set_compression: * @properties: A #GParquetWriterProperties. * @compression_type: A #GArrowCompressionType. - * @path: (nullable): A column path. + * @path: (nullable): The column path. * * Since: 1.0.0 */ @@ -175,7 +175,7 @@ gparquet_writer_properties_disable_dictionary(GParquetWriterProperties *properti */ gboolean gparquet_writer_properties_is_dictionary_enabled(GParquetWriterProperties *properties, - gchar *dot_string) + const gchar *dot_string) { auto parquet_properties = gparquet_writer_properties_get_raw(properties); auto parquet_column_path = parquet::schema::ColumnPath::FromDotString(dot_string); diff --git a/c_glib/parquet-glib/arrow-file-writer.h b/c_glib/parquet-glib/arrow-file-writer.h index 172d5733cf999..25a352237b473 100644 --- a/c_glib/parquet-glib/arrow-file-writer.h +++ b/c_glib/parquet-glib/arrow-file-writer.h @@ -39,17 +39,17 @@ GParquetWriterProperties *gparquet_writer_properties_new(void); void gparquet_writer_properties_set_compression(GParquetWriterProperties *properties, GArrowCompressionType compression_type, - gchar *path); + const gchar *path); GArrowCompressionType gparquet_writer_properties_get_compression_dot_string(GParquetWriterProperties *properties, - gchar *dot_string); + const gchar *dot_string); void gparquet_writer_properties_enable_dictionary(GParquetWriterProperties *properties); void gparquet_writer_properties_disable_dictionary(GParquetWriterProperties *properties); gboolean gparquet_writer_properties_is_dictionary_enabled(GParquetWriterProperties *properties, - gchar *dot_string); + const gchar *dot_string); void gparquet_writer_properties_set_dictionary_page_size_limit(GParquetWriterProperties *properties, gint64 limit);