Skip to content

Commit faccdab

Browse files
committed
update
1 parent 21a0bdb commit faccdab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/spark/src/function/array/shuffle.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl Default for SparkShuffle {
4747
impl SparkShuffle {
4848
pub fn new() -> Self {
4949
Self {
50-
signature: Signature::any(1, Volatility::Volatile),
50+
signature: Signature::arrays(1, None, Volatility::Volatile),
5151
}
5252
}
5353
}
@@ -98,7 +98,7 @@ pub fn array_shuffle_inner(arg: &[ArrayRef]) -> Result<ArrayRef> {
9898
}
9999
}
100100

101-
fn general_array_shuffle<O: OffsetSizeTrait + TryFrom<i64>>(
101+
fn general_array_shuffle<O: OffsetSizeTrait>(
102102
array: &GenericListArray<O>,
103103
field: &FieldRef,
104104
) -> Result<ArrayRef> {

0 commit comments

Comments
 (0)