BaymaxHWY commented on PR #3600: URL: https://github.com/apache/arrow-datafusion/pull/3600#issuecomment-1256848287
Some of the test code is not a single `RecordBatch`, what is the best way to handle it? like this([sql/limit.rs](https://github.com/apache/arrow-datafusion/blob/b6252771248da117dd3a5976d134a66a4bb60431/datafusion/core/tests/sql/limit.rs#L167)): ```rust let table = MemTable::try_new(schema, vec![partition])?; ctx.register_table("a", Arc::new(table))?; ``` or ([sql/aggregates.rs](https://github.com/apache/arrow-datafusion/blob/b6252771248da117dd3a5976d134a66a4bb60431/datafusion/core/tests/sql/aggregates.rs#L2064)) ```rust let provider = MemTable::try_new(Arc::new(schema), vec![vec![batch1], vec![batch2]])?; ctx.register_table("t", Arc::new(provider))?; ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
