[ https://issues.apache.org/jira/browse/SYSTEMML-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deron Eriksson closed SYSTEMML-1222. ------------------------------------ > MLContext `read` Statement Value Input Error For `cols_in_block` Argument > ------------------------------------------------------------------------- > > Key: SYSTEMML-1222 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1222 > Project: SystemML > Issue Type: Bug > Reporter: Mike Dusenberry > Assignee: Deron Eriksson > Priority: Minor > Fix For: SystemML 0.13 > > > The {{read}} statement has optional numeric parameters, such as > {{cols_in_block}} that expect integers. If a Scala {{Long}} is supplied as > an input variable for one of those parameters via MLContext, and type error > will occur in which an {{Int}} was expected, but a {{Long}} was received. A > quick fix is to convert to an integer with {{Long.toInt}} before passing the > value into the script via MLContext. > We should automatically cast {{Long}} to {{Int}} internally. -- This message was sent by Atlassian JIRA (v6.3.15#6346)