You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Nandish Jayaram (JIRA)" <ji...@apache.org> on 2018/05/14 18:52:00 UTC

[jira] [Commented] (MADLIB-1234) RF, DT - casting sparse vector to float array in arg list crashes DB

    [ https://issues.apache.org/jira/browse/MADLIB-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474625#comment-16474625 ] 

Nandish Jayaram commented on MADLIB-1234:
-----------------------------------------

The cast to float array (float8[]) should be evaluated before we access the individual elements of the array, otherwise we encounter a strange notation such as feature::madlib.svec::float8[][1]. A simple addition of parentheses should fix the issue ( (feature::madlib.svec::float8[])[1] ).

> RF, DT  - casting sparse vector to float array in arg list crashes DB
> ---------------------------------------------------------------------
>
>                 Key: MADLIB-1234
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1234
>             Project: Apache MADlib
>          Issue Type: Bug
>          Components: Module: Decision Tree
>            Reporter: Frank McQuillan
>            Priority: Major
>             Fix For: v1.15
>
>
> Workaround is to cast to float[] before call to RF/DT function



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)