You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/03/05 15:04:36 UTC

[GitHub] [druid] EwanValentine commented on issue #10945: Scan query throws and error when using smile encoding for response

EwanValentine commented on issue #10945:
URL: https://github.com/apache/druid/issues/10945#issuecomment-791475750


   @FrankChen021 Yes that's what I was expecting. From reading the docs and looking through the code, I expected to be able to send a query in JSON (`Content-Type: application/json`), then get the data back in smile format, but setting `Accept: application/x-jackson-smile`, as per the docs.
   
   In terms of why we wanted to use Smile: because the docs say it's possible to use it, and there's apparently performance/efficiency benefits for using it over JSON. We're going to be requesting large amounts of data back from Druid. Given the only way to do this (as there's no encoded connection to Druid, similar to say Postgres), is via the HTTP API, we wanted to see how much of a benefit Smile would be over JSON. Hope that makes sense. Advice is very much welcome! 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org