Hi Siripen,

Yes, it is possible. Just request with a header containing "Accept:
application/x-adm". Keep in mind though that if you try putting the output
of that through a JSON parser, " interesting" things may happen...

Thanks,
-Ian
On Aug 21, 2015 7:30 PM, "Siripen Pongpaichet" <[email protected]> wrote:

> Dear Ian,
>
> Some fields in my dataset are in "Interval" type. The printer for "interval" 
> type in "json" format is not implemented yet.
>
> I got following error
> Caused by: edu.uci.ics.asterix.common.exceptions.AsterixException: 
> java.lang.IllegalStateException: 
> edu.uci.ics.hyracks.algebricks.common.exceptions.NotImplementedException: No 
> printer for type INTERVAL\n\tat 
> edu.uci.ics.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:91)\n\tat
>
>
> I used the same query over the Asterix Interface, and the result in ADM 
> format was returned correctly.
>
> Is it possible to retrieve "ADM" format over the HTTP request? Any other 
> options?
>
> Thank you very much
>
>
> Best regards,
>
> Siripen
>
> --
>
> Siripen Pongpaichet
> University of California, Irvine
>
>

Reply via email to