Skip to content

Commit

Permalink
fix: some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
izveigor committed Jul 20, 2023
1 parent ced6901 commit 68a6bed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion/expr/src/built_in_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ impl BuiltinScalarFunction {
)
}

/// Returns the dimension [`DataType`] of [`DataType::List`]
/// Returns the dimension [`DataType`] of [`DataType::List`].
fn return_dimension(self, input_expr_type: DataType) -> u64 {
let mut res: u64 = 1;
let mut current_data_type = input_expr_type;
Expand Down
2 changes: 1 addition & 1 deletion datafusion/physical-expr/src/array_expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ fn compute_array_ndims(arr: Option<ArrayRef>) -> Result<Option<u64>> {
Ok(compute_array_ndims_with_datatype(arr)?.0)
}

/// Returns the dimension and lower datatype of the array
/// Returns the dimension and the datatype of elements of the array
fn compute_array_ndims_with_datatype(
arr: Option<ArrayRef>,
) -> Result<(Option<u64>, DataType)> {
Expand Down

0 comments on commit 68a6bed

Please sign in to comment.