Skip to content

Commit

Permalink
String dictionary test
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Dec 14, 2024
1 parent 311f050 commit 3151275
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions datafusion/common/src/scalar/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5577,16 +5577,14 @@ mod tests {
Arc::new(StringArray::from(vec![Some("foo"), None, Some("bar")])),
Arc::new(LargeStringArray::from(vec![Some("foo"), None, Some("bar")])),
Arc::new(StringViewArray::from(vec![Some("foo"), None, Some("bar")])),
// string dictionary fails due to XXX
/*
// string dictionary
{
let mut builder = StringDictionaryBuilder::<Int32Type>::new();
builder.append("foo").unwrap();
builder.append_null();
builder.append("bar").unwrap();
Arc::new(builder.finish())
},
*/
// binary array
Arc::new(BinaryArray::from_iter(vec![
Some(b"foo"),
Expand Down

0 comments on commit 3151275

Please sign in to comment.