You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2018/04/18 07:13:00 UTC

[jira] [Closed] (SYSTEMML-2254) Transformdecode fails with index out of bounds

     [ https://issues.apache.org/jira/browse/SYSTEMML-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Boehm closed SYSTEMML-2254.
------------------------------------
       Resolution: Fixed
         Assignee: Matthias Boehm
    Fix Version/s: SystemML 1.2

> Transformdecode fails with index out of bounds
> ----------------------------------------------
>
>                 Key: SYSTEMML-2254
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2254
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>            Priority: Major
>             Fix For: SystemML 1.2
>
>
> Given a meta data frame M, and a single column input matrix, {{transformdecode}} fails with index out of bounds due to unnecessary pass-through decoders.
> {code}
> # THIS FAILS with Caused by: java.lang.ArrayIndexOutOfBoundsException: 142
> # foo = transformdecode (target=seq(1, 142), spec="{ids:true,recode:[1]}", meta=M)      
> # THIS WORKS
> foo = transformdecode (target=seq(1, 142), spec="{ids:true,recode:[1]}", meta=M[,1])
> {code}



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