Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
If SqlImplementor fails, include the RelNode in the exception. (For example, we recently encountered a java.lang.ArrayIndexOutOfBoundsException where the problem was in the RelNode but the RelNode was not in the stack.)
Add a catch block that calls Util.throwAsRuntime to the SqlImplementor.visitRoot method. That method seems to be a widely used entry point.