IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 27, 2008, 5:57:36 PM (18 years ago)
Author:
eugene
Message:

do not join against tess_id

File:
1 edited

Legend:

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

    r19249 r19258  
    1414    FROM warpSkyfile
    1515    JOIN warpRun
    16         USING(warp_id, tess_id)
     16        USING(warp_id)
    1717    JOIN fakeRun
    18         USING(fake_id, tess_id)
     18        USING(fake_id)
    1919    JOIN camRun
    20         USING(cam_id, tess_id)
     20        USING(cam_id)
    2121    JOIN chipRun
    22         USING(chip_id, tess_id)
     22        USING(chip_id)
    2323    JOIN rawExp
    24         USING(exp_id, tess_id)
     24        USING(exp_id)
    2525    WHERE
    2626        skycell_id = '%s'
    27         AND tess_id = '%s'
    28         AND rawExp.filter = '%s'
     27        AND warpRun.state = 'full'
     28        AND rawExp.filter = '%s' -- the result of the query is grouped by filter and inserted for one at a time
    2929        AND warpSkyfile.fault = 0
    3030        AND warpSkyfile.ignored = 0
Note: See TracChangeset for help on using the changeset viewer.