Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1135

MADlib: Raising exception leads to database connection termination.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0.0-incubating
    • Component/s: Core
    • Labels:
      None

      Description

      MADlib tests on HAWQ 2.0 Nightly builds fails due to server terminating it's connection. The failed tests are testing for bad input by returning an exception on specific user inputs. These exceptions are raised cleanly in other platforms including HAWQ 2.0 and all Greenplum DBs.
      Reproduction Steps
      Install MADlib using the RPM and HAWQ install script.
      Run attached script (called hawq_2.0.1_test.sql)
      Current error message is
      {{
      server closed the connection unexpectedly
      This probably means the server terminated abnormally
      before or while processing the request.
      }}
      Expected error is
      {{
      ERROR: spiexceptions.InvalidParameterValue: Function "madlib.lmf_igd_transition(double precision[],integer,integer,double precision,double precision[],integer,integer,integer,double precision,double precision)": Invalid type conversion. Null where not expected.
      }}

        Attachments

          Activity

            People

            • Assignee:
              hubertzhang Hubert Zhang
              Reporter:
              mli Ming Li

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment