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 2016/09/24 04:48:20 UTC

[jira] [Assigned] (SYSTEMML-953) Frame ncol fails due to missing meta data after transformdecode

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

Matthias Boehm reassigned SYSTEMML-953:
---------------------------------------

    Assignee: Matthias Boehm

> Frame ncol fails due to missing meta data after transformdecode
> ---------------------------------------------------------------
>
>                 Key: SYSTEMML-953
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-953
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>             Fix For: SystemML 0.11
>
>
> The following script over a 1G x 5 input frame w/ double schema fails due to missing meta data after the transformdecode call.
> {code}
> Xf = read("mboehm/frame/Xf");
> jspec = "{\"ids\": true,\"recode\": [1,2,3,4,5]}";
> [X,M] = transformencode(target=Xf, spec=jspec);
> print(max(X));
> print(toString(M))
> Xf2 = transformdecode(target=X, spec=jspec, meta=M);
> print(toString(Xf2[1,]));
> {code}
> In detail, the encountered exception is 
> {code}
> Caused by: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 18 and 20 -- Error evaluating instruction: CP°ncol°_fVar19·FRAME·STRING·false°_Var20·SCALAR·INT
>         at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:335)
>         at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeInstructions(ProgramBlock.java:224)
>         at org.apache.sysml.runtime.controlprogram.ProgramBlock.execute(ProgramBlock.java:168)
>         at org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:145)
>         ... 12 more
> Caused by: org.apache.sysml.runtime.DMLRuntimeException: Invalid meta data returned by 'ncol': -1
>         at org.apache.sysml.runtime.instructions.cp.AggregateUnaryCPInstruction.processInstruction(AggregateUnaryCPInstruction.java:128)
>         at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:305)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)