IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2013, 4:05:13 PM (13 years ago)
Author:
bills
Message:

various changes for support of distribution of skycal results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/disttool_toadvance.sql

    r32710 r35960  
    262262        AND distComponent.fault = 0
    263263UNION
     264-- skycal stage
     265-- NOTE this assumes that there is only one component per skycalRun
     266-- (one skycell)
     267SELECT
     268    distRun.dist_id,
     269    stage,
     270    stage_id,
     271    outroot,
     272    label,
     273    clean
     274    FROM distRun
     275    JOIN skycalResult on stage_id = skycal_id
     276    LEFT JOIN distComponent
     277        ON distRun.dist_id = distComponent.dist_id
     278    WHERE
     279        distRun.state = 'new'
     280        AND distRun.fault = 0
     281        AND distRun.stage = 'skycal'
     282        AND distComponent.component IS NOT NULL
     283        AND distComponent.fault = 0
     284UNION
    264285-- SSdiff stage
    265286SELECT
Note: See TracChangeset for help on using the changeset viewer.