Skip to content

Commit

Permalink
Update datafusion/expr/src/field_util.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Aug 8, 2023
1 parent 7e3d976 commit c97313f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datafusion/expr/src/field_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ impl GetFieldAccessSchema {
/// # Error
/// Errors if
/// * the `data_type` is not a Struct or a List,
/// * the `data_type` of extra key does not match with `data_type` of key
/// * there is no field key is not of the required index type
/// * the `data_type` of the name/index/start-stop do not match a supported index type
pub fn get_accessed_field(&self, data_type: &DataType) -> Result<Field> {
match self {
Self::NamedStructField{ name } => {
Expand Down

0 comments on commit c97313f

Please sign in to comment.