IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36555 for trunk/ippTools/share


Ignore:
Timestamp:
Feb 25, 2014, 2:12:24 PM (12 years ago)
Author:
bills
Message:

updates from ipp/tags/ipp-20140114

Location:
trunk
Files:
5 edited
6 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippTools/share/Makefile.am

    r36543 r36555  
    190190        disttool_definebyquery_diff.sql \
    191191        disttool_definebyquery_fake.sql \
     192        disttool_definebyquery_ff.sql \
    192193        disttool_definebyquery_raw.sql \
    193194        disttool_definebyquery_raw_no_magic.sql \
     
    207208        disttool_pending_diff.sql \
    208209        disttool_pending_fake.sql \
     210        disttool_pending_ff.sql \
    209211        disttool_pending_raw.sql \
    210212        disttool_pending_sky.sql \
     
    498500        fftool_todo.sql \
    499501        fftool_toadvance.sql \
     502        fftool_export_run.sql \
     503        fftool_export_input.sql \
     504        fftool_export_result.sql \
     505        fftool_export_summary.sql \
    500506        remotetool_definebyquery_chip.sql \
    501507        remotetool_definebyquery_cam.sql \
     
    503509        remotetool_definebyquery_stack.sql \
    504510        remotetool_updatepoll.sql
    505 
    506 
    507 
  • trunk/ippTools/share/disttool_toadvance.sql

    r35960 r36555  
    308308        COUNT(diffSkyfile.skycell_id) = COUNT(distComponent.component)
    309309        AND SUM(distComponent.fault) = 0
     310UNION
     311-- ff stage
     312SELECT
     313    distRun.dist_id,
     314    stage,
     315    stage_id,
     316    outroot,
     317    distRun.label,
     318    clean
     319    -- ,COUNT(warp_id)
     320    -- ,COUNT(ff_id)
     321    FROM distRun
     322    JOIN fullForceRun ON stage_id = ff_id
     323    JOIN fullForceResult USING(ff_id)
     324    JOIN skycalRun USING(skycal_id)
     325    JOIN stackRun USING(stack_id)
     326    LEFT JOIN distComponent
     327        ON distRun.dist_id = distComponent.dist_id
     328        AND distComponent.component = CONCAT_WS('.', warp_id, stackRun.skycell_id)
     329    WHERE
     330        distRun.state = 'new'
     331        AND distRun.fault = 0
     332        AND distRun.stage = 'ff'
     333    GROUP BY
     334        distRun.dist_id,
     335        ff_id
     336    HAVING
     337        -- number of dist components is the number of warps plus 1 (for the summary component)
     338        COUNT(fullForceResult.ff_id) = COUNT(distComponent.component)
     339        AND SUM(distComponent.fault) = 0
    310340) as Foo
  • trunk/ippTools/share/fftool_result.sql

    r36441 r36555  
    11SELECT
    22    fullForceResult.*,
    3     fullForceRun.skycal_id,
     3    fullForceRun.state,
    44    fullForceRun.label,
    55    fullForceRun.data_group,
     6    fullForceRun.skycal_id,
     7    fullForceRun.workdir,
     8    CONCAT_WS('.', warp_id, skycell_id) AS dist_component,
    69    stackRun.tess_id,
    710    stackRun.skycell_id,
  • trunk/ippTools/share/fftool_summary.sql

    r36441 r36555  
    55    fullForceRun.data_group,
    66    fullForceRun.skycal_id,
     7    fullForceRun.workdir,
     8    'summary' AS dist_component,
    79    stackRun.tess_id,
    810    stackRun.skycell_id,
Note: See TracChangeset for help on using the changeset viewer.