Skip to content

Commit

Permalink
Add const for path
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro615 authored and kou committed Feb 26, 2020
1 parent d425b79 commit 2350297
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions c_glib/parquet-glib/arrow-file-writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions c_glib/parquet-glib/arrow-file-writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2350297

Please sign in to comment.