Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
For the function
http://doc.madlib.net/latest/group__grp__summary.html
For a table with the following column:
depdelay | double precision |
gpuser=> select madlib.summary('faa.otp_r', 'faa.otp_summary1', 'DepDelay');
results in the following error:
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"
Don't think this should throw this error.