Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Frame left indexing with different column schemas of lhs and rhs currently fails as follows
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)
We should provide a fast path for common schemas (based on memcopy as done so far) and a general path which requires object conversions.