[
https://issues.apache.org/jira/browse/SYSTEMML-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deron Eriksson updated SYSTEMML-624:
------------------------------------
Description:
Code exists in the {code}OutputStatement(String fname, FunctionCallIdentifier
fci, String filename, int blp, int bcp, int elp, int ecp){code} constructor to
support writeMM and write.csv functions. However, this constructor is never
called, so writeMM and write.csv are currently not supported.
See {code}setOutputStatement(ParserRuleContext ctx,
ArrayList<ParameterExpression> paramExpression, StatementInfo info){code} of
CommonSyntacticValidator, which calls the other OutputStatement constructor
with {code}info.stmt = new OutputStatement((DataIdentifier)
paramExpression.get(0).getExpr(), DataOp.WRITE, fileName, line, col, line,
col);{code}.
was:
Code exists in the {code}OutputStatement(String fname, FunctionCallIdentifier
fci, String filename, int blp, int bcp, int elp, int ecp){code} constructor to
support writeMM and write.csv functions. However, this constructor is never
called, so writeMM and write.csv are currently not supported.
See {code}setOutputStatement(ParserRuleContext ctx,
ArrayList<ParameterExpression> paramExpression, StatementInfo info) of
CommonSyntacticValidator{code}, which calls the other OutputStatement
constructor with {code}info.stmt = new OutputStatement((DataIdentifier)
paramExpression.get(0).getExpr(), DataOp.WRITE, fileName, line, col, line,
col);{code}.
> writeMM and write.csv code currently not called
> -----------------------------------------------
>
> Key: SYSTEMML-624
> URL: https://issues.apache.org/jira/browse/SYSTEMML-624
> Project: SystemML
> Issue Type: Bug
> Components: Parser
> Reporter: Deron Eriksson
> Priority: Minor
>
> Code exists in the {code}OutputStatement(String fname, FunctionCallIdentifier
> fci, String filename, int blp, int bcp, int elp, int ecp){code} constructor
> to support writeMM and write.csv functions. However, this constructor is
> never called, so writeMM and write.csv are currently not supported.
> See {code}setOutputStatement(ParserRuleContext ctx,
> ArrayList<ParameterExpression> paramExpression, StatementInfo info){code} of
> CommonSyntacticValidator, which calls the other OutputStatement constructor
> with {code}info.stmt = new OutputStatement((DataIdentifier)
> paramExpression.get(0).getExpr(), DataOp.WRITE, fileName, line, col, line,
> col);{code}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)