You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Mike Dusenberry (JIRA)" <ji...@apache.org> on 2016/09/11 00:37:20 UTC

[jira] [Created] (SYSTEMML-906) Use of `df.first` in MLContext is a Bottleneck

Mike Dusenberry created SYSTEMML-906:
----------------------------------------

             Summary: Use of `df.first` in MLContext is a Bottleneck
                 Key: SYSTEMML-906
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-906
             Project: SystemML
          Issue Type: Improvement
            Reporter: Mike Dusenberry


The use of {{dataframe.first()}} at {{MLContextUtil.java:497}} causes a severe bottleneck if the input DataFrame is a lazy result of a compute-intensive chain.  We should change this to use {{dataframe.schema}}, and then iterate over the types in the schema.

cc [~deron]



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