MCPcopy Create free account
hub / github.com/apache/arrow / garrow_sort_options_equal

Function garrow_sort_options_equal

c_glib/arrow-glib/compute.cpp:3508–3518  ·  view source on GitHub ↗

* garrow_sort_options_equal: * @options: A #GArrowSortOptions. * @other_options: A #GArrowSortOptions to be compared. * * Returns: %TRUE if both of them have the same sort keys, %FALSE * otherwise. * * Since: 3.0.0 */

Source from the content-addressed store, hash-verified

3506 * Since: 3.0.0
3507 */
3508gboolean
3509garrow_sort_options_equal(GArrowSortOptions *options, GArrowSortOptions *other_options)
3510{
3511 auto arrow_options = garrow_sort_options_get_raw(options);
3512 auto arrow_other_options = garrow_sort_options_get_raw(other_options);
3513 if (!garrow_raw_sort_keys_equal(arrow_options->sort_keys,
3514 arrow_other_options->sort_keys)) {
3515 return FALSE;
3516 }
3517 return TRUE;
3518}
3519
3520/**
3521 * garrow_sort_options_get_sort_keys:

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected