We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dbeee8 commit 39003c2Copy full SHA for 39003c2
datafusion/functions/src/string/starts_with.rs
@@ -41,12 +41,12 @@ pub fn starts_with(args: &[ArrayRef]) -> Result<ArrayRef> {
41
})
42
{
43
let arg0 = if args[0].data_type() == &coercion_data_type {
44
- args[0].clone()
+ Arc::clone(&args[0])
45
} else {
46
arrow::compute::kernels::cast::cast(&args[0], &coercion_data_type)?
47
};
48
let arg1 = if args[1].data_type() == &coercion_data_type {
49
- args[1].clone()
+ Arc::clone(&args[1])
50
51
arrow::compute::kernels::cast::cast(&args[1], &coercion_data_type)?
52
0 commit comments