Github user fhueske commented on the pull request:

    https://github.com/apache/flink/pull/1734#issuecomment-190252285
  
    Returning `false` does not imply that no plan can be found. It just means 
that this branch of the plan space cannot be translated, but other rules such 
as the rule for extracting expressions out of join conditions can lead to 
branches that result in valid plans. 
    
    So we should not throw an exception in this rule (in fact in no rule). 
However, we can catch the exception when Calcite did not find a plan and return 
a more meaningful exception there.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to