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)