We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e2314 commit 88d304eCopy full SHA for 88d304e
datafusion/functions/src/datetime/to_char.rs
@@ -264,7 +264,7 @@ fn _to_char_array(args: &[ColumnarValue]) -> Result<ColumnarValue> {
264
let mut results: Vec<Option<String>> = vec![];
265
let format_array = arrays[1].as_string::<i32>();
266
267
- let mut values = arrays[0].clone();
+ let mut values = Arc::clone(&arrays[0]);
268
let mut data_type = arrays[0].data_type();
269
270
// eagerly cast Date32 values to Date64 to support date formatting with time-related specifiers
0 commit comments