()
| 2079 | } |
| 2080 | |
| 2081 | fn case_test_batch() -> Result<RecordBatch> { |
| 2082 | let schema = Schema::new(vec![Field::new("a", DataType::Utf8, true)]); |
| 2083 | let a = StringArray::from(vec![Some("foo"), Some("baz"), None, Some("bar")]); |
| 2084 | let batch = RecordBatch::try_new(Arc::new(schema), vec![Arc::new(a)])?; |
| 2085 | Ok(batch) |
| 2086 | } |
| 2087 | |
| 2088 | // Construct an array that has several NULL values whose |
| 2089 | // underlying buffer actually matches the where expr predicate |
searching dependent graphs…