jiangzhx commented on code in PR #5860:
URL: https://github.com/apache/arrow-datafusion/pull/5860#discussion_r1160423142
##########
datafusion/core/src/datasource/file_format/csv.rs:
##########
@@ -124,8 +154,13 @@ impl FileFormat for CsvFormat {
let mut records_to_read =
self.schema_infer_max_rec.unwrap_or(usize::MAX);
for object in objects {
- // stream to only read as many rows as needed into memory
- let stream = read_to_delimited_chunks(store, object).await;
+ let stream = store.get(&object.location).await.unwrap();
Review Comment:
thanks.fixed.
##########
datafusion/core/src/datasource/file_format/csv.rs:
##########
@@ -124,8 +154,13 @@ impl FileFormat for CsvFormat {
let mut records_to_read =
self.schema_infer_max_rec.unwrap_or(usize::MAX);
for object in objects {
- // stream to only read as many rows as needed into memory
- let stream = read_to_delimited_chunks(store, object).await;
+ let stream = store.get(&object.location).await.unwrap();
Review Comment:
thanks. fixed.
--
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]