jonahgao commented on code in PR #10531: URL: https://github.com/apache/datafusion/pull/10531#discussion_r1606501759
########## datafusion/substrait/tests/cases/roundtrip_logical_plan.rs: ########## @@ -607,6 +608,15 @@ async fn qualified_catalog_schema_table_reference() -> Result<()> { roundtrip("SELECT a,b,c,d,e FROM datafusion.public.data;").await } +#[tokio::test] +async fn roundtrip_local_relation() -> Result<()> { + let ctx = create_context().await?; + let row1 = vec![lit(1), lit("a")]; + let row2 = vec![lit(2), lit("b")]; + let plan = LogicalPlanBuilder::values(vec![row1, row2])?.build()?; Review Comment: It is implemented, and you can use it like this. ```rust roundtrip("VALUES (1, 'a', [[1,2,3], []], STRUCT(true, 1))").await ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org