crunch-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Wills <>
Subject Re: Pipeline.done returns "READY" when nothing is staged
Date Wed, 09 Apr 2014 22:05:14 GMT
Probably an oversight, agree that DONE or a custom status would make more
On Apr 9, 2014 3:04 PM, "Barry,Nathan" <> wrote:

>  I found it odd that  Pipeline.done() returns a PipelineResult with a
> status of "READY" when there is nothing staged in the pipeline when done is
> called.  It makes sense to not return "SUCCEEDED" as that implies that
> something happened successfully, but "READY" isn't a terminal state but
> it's an initial state so checking for a status of READY after calling done
> is counterintuitive.
>  Is this expected and desired?  Or should an alternate successful-like
> status be returned, such as "DONE" or "DONE-NO-OP"
>  Nathan
>  CONFIDENTIALITY NOTICE This message and any included attachments are from
> Cerner Corporation and are intended only for the addressee. The information
> contained in this message is confidential and may constitute inside or
> non-public information under international, federal, or state securities
> laws. Unauthorized forwarding, printing, copying, distribution, or use of
> such information is strictly prohibited and may be unlawful. If you are not
> the addressee, please promptly delete this message and notify the sender of
> the delivery error by e-mail or you may call Cerner's corporate offices in
> Kansas City, Missouri, U.S.A at (+1) (816)221-1024.

View raw message