You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2023/06/23 23:55:38 UTC
[arrow] branch main updated: GH-36074: [C++] Clarify docs for ConcatenateTablesOptions::field_merge_options (#36075)
This is an automated email from the ASF dual-hosted git repository.
westonpace pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 10708b38f9 GH-36074: [C++] Clarify docs for ConcatenateTablesOptions::field_merge_options (#36075)
10708b38f9 is described below
commit 10708b38f97bbf71072408ac46bcfe466692dc03
Author: Weston Pace <we...@gmail.com>
AuthorDate: Fri Jun 23 16:55:30 2023 -0700
GH-36074: [C++] Clarify docs for ConcatenateTablesOptions::field_merge_options (#36075)
### Rationale for this change
There was no docstring for this field before
### What changes are included in this PR?
I added a docstring for the field
### Are these changes tested?
No, it's just a comment
### Are there any user-facing changes?
No
* Closes: #36074
Authored-by: Weston Pace <we...@gmail.com>
Signed-off-by: Weston Pace <we...@gmail.com>
---
cpp/src/arrow/table.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cpp/src/arrow/table.h b/cpp/src/arrow/table.h
index 7968f3913d..2171f3331a 100644
--- a/cpp/src/arrow/table.h
+++ b/cpp/src/arrow/table.h
@@ -281,6 +281,9 @@ struct ARROW_EXPORT ConcatenateTablesOptions {
/// is the result of concatenating the corresponding columns in all input tables.
bool unify_schemas = false;
+ /// options to control how fields are merged when unifying schemas
+ ///
+ /// This field will be ignored if unify_schemas is false
Field::MergeOptions field_merge_options = Field::MergeOptions::Defaults();
static ConcatenateTablesOptions Defaults() { return {}; }