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 2017/02/20 07:11:44 UTC

[jira] [Created] (SYSTEMML-1337) Frame leftindexing with different schemas

Matthias Boehm created SYSTEMML-1337:
----------------------------------------

             Summary: Frame leftindexing with different schemas
                 Key: SYSTEMML-1337
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1337
             Project: SystemML
          Issue Type: Bug
            Reporter: Matthias Boehm


Frame left indexing with different column schemas of lhs and rhs currently fails as follows
{code}
Caused by: java.lang.ClassCastException: org.apache.sysml.runtime.matrix.data.FrameBlock$DoubleArray cannot be cast to org.apache.sysml.runtime.matrix.data.FrameBlock$StringArray
	at org.apache.sysml.runtime.matrix.data.FrameBlock$StringArray.set(FrameBlock.java:1209)
	at org.apache.sysml.runtime.matrix.data.FrameBlock$StringArray.set(FrameBlock.java:1206)
	at org.apache.sysml.runtime.matrix.data.FrameBlock.leftIndexingOperations(FrameBlock.java:760)
{code}

We should provide a fast path for common schemas (based on memcopy as done so far) and a general path which requires object conversions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)