Constructor

ArrowDatasetHivePartitioningnew

Declaration [src]

GADatasetHivePartitioning*
gadataset_hive_partitioning_new (
  GArrowSchema* schema,
  GList* dictionaries,
  GADatasetHivePartitioningOptions* options,
  GError** error
)

Description

No description available.
Available since:11.0.0

Parameters

schema GArrowSchema
 

A GArrowSchema that describes all partitioned segments.

 The data is owned by the caller of the function.
dictionaries A list of GArrowArray*
 

A list of GArrowArray for dictionary data types in schema.

 The argument can be NULL.
 The data is owned by the caller of the function.
options GADatasetHivePartitioningOptions
 

A GADatasetHivePartitioningOptions.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GADatasetHivePartitioning
 

The newly created GADatasetHivePartitioning on success, NULL on error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.