akın tekeoğlu created ORC-584:
---------------------------------
Summary: TypeDescription toJson() returns invalid json
Key: ORC-584
URL: https://issues.apache.org/jira/browse/ORC-584
Project: ORC
Issue Type: Bug
Components: Java
Affects Versions: 1.6.2
Reporter: akın tekeoğlu
toJson method returns invalid JSON string when the category field is STRUCT.
Inside printJsonToBuffer method, we are careting invalid json array just like
below,
{code:java}
{
"fields":[
"f1":{},
"f2":{}
]
}
{code}
But it should be like this:
{code:java}
{
"fields":[
{"f1":{}},
{"f2":{}}
]
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)