You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Frank McQuillan (JIRA)" <ji...@apache.org> on 2016/01/11 23:57:39 UTC
[jira] [Created] (MADLIB-954) Check input handling of SUMMARY
function
Frank McQuillan created MADLIB-954:
--------------------------------------
Summary: Check input handling of SUMMARY function
Key: MADLIB-954
URL: https://issues.apache.org/jira/browse/MADLIB-954
Project: Apache MADlib
Issue Type: Bug
Reporter: Frank McQuillan
For the function
http://doc.madlib.net/latest/group__grp__summary.html
For a table with the following column:
depdelay | double precision |
{code:sql}
gpuser=> select madlib.summary('faa.otp_r', 'faa.otp_summary1', 'DepDelay');
{code}
results in the following error:
{code}
ERROR: ZeroDivisionError: float division (plpython.c:4648)
CONTEXT: Traceback (most recent call last):
PL/Python function "summary", line 25, in
get_distinct, get_quartiles, ntile_array, how_many_mfv, get_estimates)
PL/Python function "summary", line 77, in summary
PL/Python function "summary", line 382, in run
PL/Python function "summary"
{code}
As per PostgreSQL rules, though should be OK.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)