Skip to content

Commit 00b1fe0

Browse files
committed
refactor: remove legacy create_dict function in favor of create_test_dict
1 parent d25b703 commit 00b1fe0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

datafusion/core/tests/sql/aggregates.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ fn create_test_dict(
3939
DictionaryArray::new(dict_indices, Arc::new(dict_values))
4040
}
4141

42-
/// Legacy wrapper for backward compatibility - prefer create_test_dict
43-
fn create_dict(
44-
values: Vec<Option<&str>>,
45-
indices: Vec<Option<u32>>,
46-
) -> DictionaryArray<UInt32Type> {
47-
create_test_dict(&values, &indices)
48-
}
49-
5042
/// Creates test data with both dictionary columns and value column
5143
struct TestData {
5244
dict_null_keys: DictionaryArray<UInt32Type>,

0 commit comments

Comments
 (0)