Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.26.0
Description
Current code in VolcanoPlanner:
assert RelOptUtil.equal( "rel rowtype", rel.getRowType(), "equivRel rowtype", equivRel.getRowType(), Litmus.THROW); equivRel = ensureRegistered(equivRel, null);
The suggested changes:
1) Use regular error IllegalArgumentException rather than an assertion
2) Make sure the exception message contains fine-grained information on what went wrong. For instance: name: non nullable -> nullable; description: character -> int; ...