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

Function cross_join

datafusion/core/tests/memory_limit/mod.rs:165–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163
164#[tokio::test]
165async fn cross_join() {
166 TestCase::new()
167 .with_query("select t1.*, t2.* from t t1 CROSS JOIN t t2")
168 .with_expected_errors(vec![
169 "Resources exhausted: Additional allocation failed",
170 "with top memory consumers (across reservations) as:\n CrossJoinExec",
171 ])
172 .with_memory_limit(1_000)
173 .run()
174 .await
175}
176
177#[tokio::test]
178async fn sort_merge_join_no_spill() {

Callers

nothing calls this directly

Calls 5

newFunction · 0.85
runMethod · 0.45
with_memory_limitMethod · 0.45
with_expected_errorsMethod · 0.45
with_queryMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…