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)

Reply via email to