You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let plan = sql_to_explain(query,2).await.unwrap();
665
+
assert_snapshot!(plan, @r"
666
+
CoalescePartitionsExec
667
+
NetworkCoalesceExec
668
+
ProjectionExec: expr=[table_catalog@0 as table_catalog, table_schema@1 as table_schema, table_name@2 as table_name, column_name@3 as column_name, data_type@5 as data_type, is_nullable@4 as is_nullable]
v = v.with_config(SessionConfig::default().with_information_schema(true));
23
+
Ok(v.build())
24
+
}),
25
+
)
26
+
.await;
27
+
register_parquet_tables(&ctx).await?;
28
+
29
+
let df = ctx.sql(r#"SHOW COLUMNS from weather"#).await?;
30
+
let physical = df.create_physical_plan().await?;
31
+
let physical_distributed = DistributedPhysicalOptimizerRule::default()
32
+
.with_network_shuffle_tasks(2)
33
+
.optimize(physical.clone(),&Default::default())?;
34
+
35
+
let physical_distributed_str = display_plan_ascii(physical_distributed.as_ref());
36
+
37
+
assert_snapshot!(physical_distributed_str,
38
+
@r"
39
+
CoalescePartitionsExec
40
+
ProjectionExec: expr=[table_catalog@0 as table_catalog, table_schema@1 as table_schema, table_name@2 as table_name, column_name@3 as column_name, data_type@5 as data_type, is_nullable@4 as is_nullable]
0 commit comments