We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 532377e commit d23bc66Copy full SHA for d23bc66
1 file changed
datafusion/spark/src/function/conversion/cast.rs
@@ -87,15 +87,8 @@ impl SparkCast {
87
let string_arg =
88
Coercion::new_exact(TypeSignatureClass::Native(logical_string()));
89
Self {
90
- signature: Signature::one_of(
91
- vec![
92
- TypeSignature::Coercible(vec![int_arg.clone(), string_arg.clone()]),
93
- TypeSignature::Coercible(vec![
94
- int_arg,
95
- string_arg.clone(),
96
- string_arg,
97
- ]),
98
- ],
+ signature: Signature::new(
+ TypeSignature::Coercible(vec![int_arg.clone(), string_arg.clone()]),
99
Volatility::Stable,
100
),
101
timezone: config
0 commit comments