Skip to content

Commit

Permalink
rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Sep 23, 2019
1 parent 600cfa1 commit 216ef0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/datafusion/src/execution/physical_plan/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ pub struct CastExpr {
cast_type: DataType,
}

/// Determine if a DataType is numeric or not
fn is_numeric(dt: &DataType) -> bool {
match dt {
DataType::Int8 | DataType::Int16 | DataType::Int32 | DataType::Int64 => true,
Expand Down

0 comments on commit 216ef0f

Please sign in to comment.