Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4628

If SqlImplementor fails, include the RelNode in the exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.28.0
    • 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.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: