This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 70b1af38e7 Minor: Fix docstring typos (#7873)
70b1af38e7 is described below
commit 70b1af38e7f4564734d9e4adda9bcaf43171bec6
Author: Andrew Lamb <[email protected]>
AuthorDate: Thu Oct 19 13:46:57 2023 -0400
Minor: Fix docstring typos (#7873)
* Minor: Fix docstring typos
* Update configs
---
datafusion/expr/src/type_coercion/binary.rs | 4 ++--
datafusion/expr/src/type_coercion/functions.rs | 2 +-
docs/source/user-guide/configs.md | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/datafusion/expr/src/type_coercion/binary.rs
b/datafusion/expr/src/type_coercion/binary.rs
index f94ce61460..a854373e88 100644
--- a/datafusion/expr/src/type_coercion/binary.rs
+++ b/datafusion/expr/src/type_coercion/binary.rs
@@ -652,7 +652,7 @@ fn string_concat_internal_coercion(
}
}
-/// Coercion rules for string types (Utf8/LargeUtf8): If at least on argument
is
+/// Coercion rules for string types (Utf8/LargeUtf8): If at least one argument
is
/// a string type and both arguments can be coerced into a string type, coerce
/// to string type.
fn string_coercion(lhs_type: &DataType, rhs_type: &DataType) ->
Option<DataType> {
@@ -691,7 +691,7 @@ fn binary_to_string_coercion(
}
}
-/// Coercion rules for binary types (Binary/LargeBinary): If at least on
argument is
+/// Coercion rules for binary types (Binary/LargeBinary): If at least one
argument is
/// a binary type and both arguments can be coerced into a binary type, coerce
/// to binary type.
fn binary_coercion(lhs_type: &DataType, rhs_type: &DataType) ->
Option<DataType> {
diff --git a/datafusion/expr/src/type_coercion/functions.rs
b/datafusion/expr/src/type_coercion/functions.rs
index d55ed0c721..b49bf37d67 100644
--- a/datafusion/expr/src/type_coercion/functions.rs
+++ b/datafusion/expr/src/type_coercion/functions.rs
@@ -111,7 +111,7 @@ fn get_valid_types(
///
/// For example, if a function `func` accepts arguments of `(int64, int64)`,
/// but was called with `(int32, int64)`, this function could match the
-/// valid_types by by coercing the first argument to `int64`, and would return
+/// valid_types by coercing the first argument to `int64`, and would return
/// `Some([int64, int64])`.
fn maybe_data_types(
valid_types: &[DataType],
diff --git a/docs/source/user-guide/configs.md
b/docs/source/user-guide/configs.md
index 81131fe96b..a0451eed08 100644
--- a/docs/source/user-guide/configs.md
+++ b/docs/source/user-guide/configs.md
@@ -65,7 +65,7 @@ Environment variables are read during `SessionConfig`
initialisation so they mus
| datafusion.execution.parquet.max_statistics_size | NULL
| Sets max statistics size for any column. If NULL, uses default
parquet writer setting
[...]
| datafusion.execution.parquet.max_row_group_size | 1048576
| Sets maximum number of rows in a row group
[...]
| datafusion.execution.parquet.created_by | datafusion
version 32.0.0 | Sets "created by" property
[...]
-| datafusion.execution.parquet.column_index_truncate_length | NULL
| Sets column index truncate length
[...]
+| datafusion.execution.parquet.column_index_truncate_length | NULL
| Sets column index trucate length
[...]
| datafusion.execution.parquet.data_page_row_count_limit |
18446744073709551615 | Sets best effort maximum number of rows in data
page
[...]
| datafusion.execution.parquet.encoding | NULL
| Sets default encoding for any column Valid values are: plain,
plain_dictionary, rle, bit_packed, delta_binary_packed,
delta_length_byte_array, delta_byte_array, rle_dictionary, and
byte_stream_split. These values are not case sensitive. If NULL, uses default
parquet writer setting
[...]
| datafusion.execution.parquet.bloom_filter_enabled | false
| Sets if bloom filter is enabled for any column
[...]