diff --git a/datafusion/functions-nested/src/set_ops.rs b/datafusion/functions-nested/src/set_ops.rs index 969ff1085a3a..893fc933d0c8 100644 --- a/datafusion/functions-nested/src/set_ops.rs +++ b/datafusion/functions-nested/src/set_ops.rs @@ -522,7 +522,7 @@ fn general_array_distinct( // Add same offset for null offsets.push(last_offset); continue; - } + }; let values = converter.convert_columns(&[arr])?; // sort elements in list and remove duplicates let rows = values.iter().sorted().dedup().collect::>();