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:06:00 UTC

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

Matthias Boehm created SYSTEMML-2254:
----------------------------------------

             Summary: 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


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)