avantgardnerio commented on code in PR #249:
URL: https://github.com/apache/arrow-ballista/pull/249#discussion_r974867790
##########
ballista/rust/client/src/context.rs:
##########
@@ -274,7 +274,14 @@ impl BallistaContext {
path: &str,
options: CsvReadOptions<'_>,
) -> Result<()> {
- match self.read_csv(path, options).await?.to_logical_plan()? {
+ let plan = self
+ .read_csv(path, options)
+ .await
+ .map_err(|e| {
+ DataFusionError::Context(format!("Can't read CSV: {}", path),
Box::new(e))
Review Comment:
Say file location when we can't load it
--
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]