Hello,
Much appreciated you taking your time to answer.
> should probably look like
>
> {DataASet: (A1: int,A2: int,DataBSets: {(DataBSet: (B1: chararray,B2:
> chararray))})}
How to achieve this? I tried:
```
b = load 'b.json' using JsonLoader('
DataASet: (
A1:int,
A2:int,
DataBSets: {
(
(DataBSet: (
B1:chararray,
B2:chararray
)
))
}
)
');
```
Which gives this schema which does not look right.
Dump fails (empty bag)
```
Grunt > describe b;
b: {DataASet: (A1: int,A2: int,DataBSets: {tuple_0: (DataBSet: (B1:
chararray,B2: chararray))})}
grunt> dump b;
()
grunt>
```
Kind regards.
Ralf
> -----Ursprüngliche Nachricht-----
> Von: Pradeep Gollakota [mailto:[email protected]]
> Gesendet: Friday, August 08, 2014 2:21 PM
> An: [email protected]
> Betreff: Re: Json Loader - Array of objects - Loading results in empty data
> set
>
> I think there's a problem with your schema.
>
> {DataASet: (A1: int,A2: int,DataBSets: {DataBSet: (B1: chararray,B2:
> chararray)})}
>
> should probably look like
>
> {DataASet: (A1: int,A2: int,DataBSets: {(DataBSet: (B1: chararray,B2:
> chararray))})}
>
>
> On Thu, Aug 7, 2014 at 11:22 AM, Klüber, Ralf <[email protected]>
> wrote: