We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 793609e commit a08f2ffCopy full SHA for a08f2ff
1 file changed
datafusion/functions-aggregate/src/approx_median.rs
@@ -74,16 +74,11 @@ impl ApproxMedian {
74
pub fn new() -> Self {
75
Self {
76
signature: Signature::one_of(
77
- vec![
78
- TypeSignature::Coercible(vec![Coercion::new_exact(
79
- TypeSignatureClass::Integer,
80
- )]),
81
- TypeSignature::Coercible(vec![Coercion::new_implicit(
82
- TypeSignatureClass::Float,
83
- vec![TypeSignatureClass::Decimal],
84
- NativeType::Float64,
85
86
- ],
+ vec![TypeSignature::Coercible(vec![Coercion::new_implicit(
+ TypeSignatureClass::Float,
+ vec![TypeSignatureClass::Numeric],
+ NativeType::Float64,
+ )])],
87
Volatility::Immutable,
88
),
89
}
0 commit comments