systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm (JIRA)" <>
Subject [jira] [Created] (SYSTEMML-1840) Transform spec literals should be checked during validate
Date Tue, 15 Aug 2017 05:41:00 GMT
Matthias Boehm created SYSTEMML-1840:

             Summary: Transform spec literals should be checked during validate
                 Key: SYSTEMML-1840
             Project: SystemML
          Issue Type: Bug
            Reporter: Matthias Boehm

Currently, there is no validation happening for transform specifications during initial compilation.
This is very annoying, especially when trying to encode large files, which takes a while to
read in, just to find out that the given transform specification was invalid json. Here is
an example:

Caused by: org.apache.wink.json4j.JSONException: Expecting '{' on line 1, column 4 instead,
obtained token: 'Token: String - 'ids''
        at org.apache.wink.json4j.internal.Parser.parseObject(
        at org.apache.wink.json4j.internal.Parser.parse(
        at org.apache.wink.json4j.internal.Parser.parse(
        at org.apache.wink.json4j.JSONObject.<init>(
        at org.apache.sysml.runtime.transform.encode.EncoderFactory.createEncoder(

This task aims to parse the transform specification if its available as a literal string during
the language validation step.

This message was sent by Atlassian JIRA

View raw message