Skip to content

Commit

Permalink
fix: round function planning for (float64,int64)
Browse files Browse the repository at this point in the history
  • Loading branch information
droidraja committed Nov 4, 2024
1 parent dcf3e4a commit 884512c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datafusion/expr/src/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,8 @@ pub fn signature(fun: &BuiltinScalarFunction) -> Signature {
TypeSignature::Exact(vec![DataType::Float64]),
TypeSignature::Exact(vec![DataType::Float32]),
// NOTE: stub, won't execute
TypeSignature::Exact(vec![DataType::Float64, DataType::Int64]),
TypeSignature::Exact(vec![DataType::Decimal(38, 10), DataType::Int64]),
TypeSignature::Exact(vec![DataType::Decimal(38, 10), DataType::Int32]),
],
fun.volatility(),
Expand Down

0 comments on commit 884512c

Please sign in to comment.