Skip to content

Commit 3a3ce89

Browse files
committed
fix: add integer signatures for log function
1 parent 884512c commit 3a3ce89

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
@@ -559,6 +559,8 @@ pub fn signature(fun: &BuiltinScalarFunction) -> Signature {
559559
DataType::Decimal(38, 10),
560560
DataType::Decimal(38, 10),
561561
]),
562+
TypeSignature::Exact(vec![DataType::Decimal(38, 10), DataType::Int64]),
563+
TypeSignature::Exact(vec![DataType::Float64, DataType::Int64]),
562564
],
563565
fun.volatility(),
564566
),

0 commit comments

Comments
 (0)