Support querying a specific dataset copy.

http://soda-fountain/resource/dataset?[$$copy=latest|published|unpublished]
Can there only be one possible unpublished copy?   If not, then how does
"unpublished" choose a copy?


On Mon, Aug 25, 2014 at 11:06 AM, Chi <notifications@github.com> wrote:

> In src/main/scala/com/socrata/querycoordinator/QueryExecutor.scala:
>
> >    /**
> >     * @note Reusing the result will re-issue the request to the upstream server.  The serialization of the
> >     *       analysis will be re-used for each request.
> >     */
> > -  def apply(base: RequestBuilder, dataset: String, analysis: SoQLAnalysis[String, SoQLAnalysisType], schema: Schema, precondition: Precondition, ifModifiedSince: Option[DateTime], rowCount: Option[String]): Managed[Result] = {
> > +  def apply(base: RequestBuilder, dataset: String, analysis: SoQLAnalysis[String, SoQLAnalysisType], schema: Schema,
> > +    precondition: Precondition, ifModifiedSince: Option[DateTime],
> > +    rowCount: Option[String],
>
> Currently, the value for copy is "published", "unpublished" and "latest".
> I am not sure how we want to handle snapshots vs copy number. Anyway, qc is
> internal. sf (soda fountain) probably should be where we put validation.
> But I haven't done so in soda fountain because I don't see this being
> finalized. I hope the work will trigger further discussion on the
> publication work flow.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/socrata/query-coordinator/pull/3/files#r16670021>.
>



-- 
Evan Chan   |   Principal Engineer, Socrata     |    @evanfchan
*Socrata <http://www.socrata.com/> *| The Data Experience Company™
*What does Socrata do? <https://www.youtube.com/watch?v=yyz86MlkriQ> *(watch
our 2 min video)