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/03/25 04:34:25 UTC

[jira] [Updated] (SYSTEMML-595) Transform input types not propagated across statement blocks

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

Matthias Boehm updated SYSTEMML-595:
------------------------------------
    Description: 
The old file-based transform relies on a shallow integration of the frame data type, which works fine if read and transform are in the same statement block but fails otherwise because the data type frame and input formats are not propagated across statement blocks. 

Example 1 (works):
{code}
X = read($1, data_type="frame", format="csv")
M = transform(target=X, ...);
{code}

Example 2 (fails):
{code}
X = read($1, data_type="frame", format="csv")
if( ... ) {
   M = transform(target=X);
}
{code}

>From my perspective, we should focus on the full frame integration (which will resolve this issue altogether) rather than creating a workaround for the existing file-based transform. 

  was:
The old file-based transform relies on a shallow integration of the frame data type, which works fine if read and transform are in the same statement block but fails otherwise because the data type frame and input formats are not propagated across statement blocks. 

Example 1 (works):
<code>
X = read($1, data_type="frame", format="csv")
M = transform(target=X, ...);
</code>

Example 2 (fails):
<code>
X = read($1, data_type="frame", format="csv")
if( ... ) {
   M = transform(target=X);
}
</code>

>From my perspective, we should focus on the full frame integration (which will resolve this issue altogether) rather than creating a workaround for the existing file-based transform. 


> Transform input types not propagated across statement blocks
> ------------------------------------------------------------
>
>                 Key: SYSTEMML-595
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-595
>             Project: SystemML
>          Issue Type: Bug
>          Components: Compiler, Runtime
>            Reporter: Matthias Boehm
>
> The old file-based transform relies on a shallow integration of the frame data type, which works fine if read and transform are in the same statement block but fails otherwise because the data type frame and input formats are not propagated across statement blocks. 
> Example 1 (works):
> {code}
> X = read($1, data_type="frame", format="csv")
> M = transform(target=X, ...);
> {code}
> Example 2 (fails):
> {code}
> X = read($1, data_type="frame", format="csv")
> if( ... ) {
>    M = transform(target=X);
> }
> {code}
> From my perspective, we should focus on the full frame integration (which will resolve this issue altogether) rather than creating a workaround for the existing file-based transform. 



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