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

Function distribute_by

datafusion/optimizer/tests/optimizer_integration.rs:184–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182
183#[test]
184fn distribute_by() -> Result<()> {
185 // regression test for https://github.com/apache/datafusion/issues/3234
186 let sql = "SELECT col_int32, col_utf8 FROM test DISTRIBUTE BY (col_utf8)";
187 let plan = test_sql(sql)?;
188
189 assert_snapshot!(
190 format!("{plan}"),
191 @r"
192 Repartition: DistributeBy(test.col_utf8)
193 TableScan: test projection=[col_int32, col_utf8]
194 "
195 );
196 Ok(())
197}
198
199#[test]
200fn semi_join_with_join_filter() -> Result<()> {

Callers

nothing calls this directly

Calls 1

test_sqlFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…