Skip to content

Commit 305d399

Browse files
committed
Fix from_base64
Signed-off-by: Xuanwo <[email protected]>
1 parent dd4fe34 commit 305d399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/functions/src/scalars/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ pub fn register(registry: &mut FunctionRegistry) {
335335
vectorize_string_to_string(
336336
|col| col.data.len() * 4 / 3 + col.len() * 4,
337337
|val, output, ctx| {
338-
if let Err(err) = general_purpose::STANDARD.decode_slice(val, &mut output.data) {
338+
if let Err(err) = general_purpose::STANDARD.decode_vec(val, &mut output.data) {
339339
ctx.set_error(output.len(), err.to_string());
340340
}
341341
output.commit_row();

0 commit comments

Comments
 (0)