asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wail Alkowaileet <wael....@gmail.com>
Subject Re: External dataset with only one field of type record/object
Date Thu, 20 Aug 2015 23:49:17 GMT
I think I got it. I should've posted it in the users list. I created a type
with no fields.



On Thu, Aug 20, 2015 at 7:38 PM, Wail Alkowaileet <wael.y.k@gmail.com>
wrote:

> Hello Team,
>
> I have a small question, how can I create an external dataset of the
> following json file:
> {"menu": {
>     "header": "SVG Viewer",
>     "items": [
>         {"id": "Open"},
>         {"id": "OpenNew", "label": "Open New"},
>         null,
>         {"id": "ZoomIn", "label": "Zoom In"},
>         {"id": "ZoomOut", "label": "Zoom Out"},
>         {"id": "OriginalView", "label": "Original View"},
>         null,
>         {"id": "Quality"},
>         {"id": "Pause"},
>         {"id": "Mute"},
>         null,
>         {"id": "Find", "label": "Find..."},
>         {"id": "FindAgain", "label": "Find Again"},
>         {"id": "Copy"},
>         {"id": "CopyAgain", "label": "Copy Again"},
>         {"id": "CopySVG", "label": "Copy SVG"},
>         {"id": "ViewSVG", "label": "View SVG"},
>         {"id": "ViewSource", "label": "View Source"},
>         {"id": "SaveAs", "label": "Save As"},
>         null,
>         {"id": "Help"},
>         {"id": "About", "label": "About Adobe CVG Viewer..."}
>     ]
> }}
>
> I know how load such file to Asterix using auto-generated UUID. But for
> the case of external dataset, how can I create the proper type for it ?
>
> --
>
> *Regards,*
> Wail Alkowaileet
>



-- 

*Regards,*
Wail Alkowaileet

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message