[
https://issues.apache.org/jira/browse/TAJO-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214366#comment-14214366
]
Jihoon Son commented on TAJO-1178:
----------------------------------
Excellent suggestion!
Actually, I implemented by adding a catch clause to the caller side, and I
think that this may make the implementation complex.
In contrast, your suggestion is simple and can handle every type of objects,
including the top level ones.
So, please take an easier way to implement.
I'll wait for your updated patch.
Thanks!
> Some error messages for wrong JSON queries are not so much helpful
> ------------------------------------------------------------------
>
> Key: TAJO-1178
> URL: https://issues.apache.org/jira/browse/TAJO-1178
> Project: Tajo
> Issue Type: Bug
> Reporter: Jaewoong Jung
> Assignee: Jaewoong Jung
> Priority: Trivial
> Attachments: TAJO-1178.Jung.111614.patch.txt
>
>
> When some required fields are missing, (e.g. OpType) tsql shows a dumb error
> message, "ERROR: java.lang.NullPointerException", which helps little in
> figuring out the problem.
> It should be more user-friendly like "Missing required filed: OpType".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)