Jimexist commented on a change in pull request #285:
URL: https://github.com/apache/arrow-datafusion/pull/285#discussion_r628684608
##########
File path: datafusion-cli/src/main.rs
##########
@@ -65,16 +77,91 @@ pub async fn main() {
execution_config = execution_config.with_batch_size(batch_size);
};
- let mut ctx =
-
ExecutionContext::with_config(execution_config.with_information_schema(true));
+ if let Some(file) = matches
+ .value_of("file")
+ .and_then(|file| File::open(&file).ok())
Review comment:
@alamb thanks for the comment, it's fixed now
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]