diff --git a/datafusion/expr/src/type_coercion/binary.rs b/datafusion/expr/src/type_coercion/binary.rs index f94ce614605c..a854373e880d 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 { @@ -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 { diff --git a/datafusion/expr/src/type_coercion/functions.rs b/datafusion/expr/src/type_coercion/functions.rs index d55ed0c7216e..b49bf37d6754 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 81131fe96b36..a0451eed088a 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 |