Skip to content

Commit 884512c

Browse files
committed
fix: round function planning for (float64,int64)
1 parent dcf3e4a commit 884512c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

datafusion/expr/src/function.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ pub fn signature(fun: &BuiltinScalarFunction) -> Signature {
567567
TypeSignature::Exact(vec![DataType::Float64]),
568568
TypeSignature::Exact(vec![DataType::Float32]),
569569
// NOTE: stub, won't execute
570+
TypeSignature::Exact(vec![DataType::Float64, DataType::Int64]),
571+
TypeSignature::Exact(vec![DataType::Decimal(38, 10), DataType::Int64]),
570572
TypeSignature::Exact(vec![DataType::Decimal(38, 10), DataType::Int32]),
571573
],
572574
fun.volatility(),

0 commit comments

Comments
 (0)