MCPcopy Create free account
hub / github.com/apache/datafusion / with_expected_errors

Method with_expected_errors

datafusion/core/tests/memory_limit/mod.rs:768–775  ·  view source on GitHub ↗

Set a list of expected strings that must appear in any errors

(
        mut self,
        expected_errors: impl IntoIterator<Item = &'a str>,
    )

Source from the content-addressed store, hash-verified

766
767 /// Set a list of expected strings that must appear in any errors
768 fn with_expected_errors<'a>(
769 mut self,
770 expected_errors: impl IntoIterator<Item = &'a str>,
771 ) -> Self {
772 self.expected_errors =
773 expected_errors.into_iter().map(|s| s.to_string()).collect();
774 self
775 }
776
777 /// Set the amount of memory that can be used
778 fn with_memory_limit(mut self, memory_limit: usize) -> Self {

Callers 15

oom_sortFunction · 0.45
group_by_noneFunction · 0.45
group_by_row_hashFunction · 0.45
group_by_hashFunction · 0.45
join_by_expressionFunction · 0.45
cross_joinFunction · 0.45
sort_merge_join_no_spillFunction · 0.45
symmetric_hash_joinFunction · 0.45
sort_preserving_mergeFunction · 0.45
sort_spill_reservationFunction · 0.45

Calls 4

collectMethod · 0.80
mapMethod · 0.45
into_iterMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected