Adding context fields to druid query

Hi,

I am trying to add context to a druid query to assign priority and queryId using the fields listed in query context (http://druid.io/docs/latest/querying/query-context.html). I am using a wrapper on top of druid, that listens to the request from pivot, adds priority to it and sends the the query with assigned priority, to the broker nodes.

Can the the priority and queryId be appended as fields in the request JSON body? I could not find documentation for the right location to add the query context (priority and queryId). What would be the right place to add these attributes?

Thanks,

Aditi

Answered here: https://groups.google.com/forum/#!topic/druid-development/i7VByLsKelI