You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "comphead (via GitHub)" <gi...@apache.org> on 2023/05/01 17:51:26 UTC
[GitHub] [arrow-datafusion] comphead commented on a diff in pull request #6184: refactor: optimizer shouldn't assume failed rules are internal error
comphead commented on code in PR #6184:
URL: https://github.com/apache/arrow-datafusion/pull/6184#discussion_r1181756999
##########
datafusion/optimizer/src/optimizer.rs:
##########
@@ -304,13 +304,8 @@ impl Optimizer {
e
);
} else {
- let e = DataFusionError::Internal(format!(
- "Optimizer rule '{}' failed due to unexpected error: {}",
- rule.name(),
- e
- ));
return Err(DataFusionError::Context(
- rule.name().to_string(),
+ format!("Optimizer rule '{}' failed", rule.name(),),
Review Comment:
👍
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org