You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by "Ming LI (JIRA)" <ji...@apache.org> on 2016/11/02 02:11:58 UTC

[jira] [Created] (HAWQ-1135) MADlib: Raising exception leads to database connection termination

Ming LI created HAWQ-1135:
-----------------------------

             Summary: MADlib: Raising exception leads to database connection termination
                 Key: HAWQ-1135
                 URL: https://issues.apache.org/jira/browse/HAWQ-1135
             Project: Apache HAWQ
          Issue Type: Bug
          Components: Core
            Reporter: Ming LI
            Assignee: Lei Chang


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.
}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)