tustvold commented on code in PR #48:
URL: https://github.com/apache/arrow-ballista/pull/48#discussion_r884335936
##########
ballista/rust/core/src/serde/logical_plan/mod.rs:
##########
@@ -1415,7 +1416,11 @@ mod roundtrip_tests {
let schema = test_schema();
let ctx = SessionContext::new();
let options = CsvReadOptions::new().schema(&schema);
- let df = ctx.read_csv(table_name, options).await?;
+
+ let uri = format!("file:///{}.csv", table_name);
+ ctx.register_csv(table_name, &uri, options).await?;
Review Comment:
Changing to using this method is necessary as otherwise it infers the
`?table?` as the table name, which seems to result in an additional projection
appearing, not entirely sure why though...
--
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]