Changeset 24244 for branches/cnb_branches/cnb_branch_20090301/ippTools/share/magicdstool_todestreak.sql
- Timestamp:
- May 26, 2009, 1:59:32 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/share (modified) (1 prop)
-
ippTools/share/magicdstool_todestreak.sql (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/ippTools/share
- Property svn:ignore
-
old new 1 1 Makefile.in 2 2 Makefile 3 pxadmin_create_mirror_tables.sql
-
- Property svn:ignore
-
branches/cnb_branches/cnb_branch_20090301/ippTools/share/magicdstool_todestreak.sql
r23594 r24244 5 5 magicRun.magic_id, 6 6 magicRun.exp_id, 7 magicDSRun.label, 7 8 camera, 8 9 magicMask.uri as streaks_uri, … … 12 13 rawImfile.uri as uri, 13 14 NULL as path_base, 15 magicRun.inverse, 14 16 camProcessedExp.path_base as cam_path_base, 15 17 outroot, … … 35 37 magicDSRun.magic_id, 36 38 chipRun.exp_id, 39 magicDSRun.label, 37 40 camera, 38 41 magicMask.uri as streaks_uri, … … 42 45 chipProcessedImfile.uri, 43 46 chipProcessedImfile.path_base, 47 magicRun.inverse, 44 48 camProcessedExp.path_base as cam_path_base, 45 49 outroot, … … 49 53 FROM magicDSRun 50 54 JOIN magicMask USING (magic_id) 55 JOIN magicRun USING(magic_id) 51 56 JOIN camProcessedExp USING(cam_id) 52 57 JOIN chipRun ON chip_id = stage_id … … 61 66 AND chipRun.state = 'full' 62 67 AND chipProcessedImfile.fault = 0 68 AND chipProcessedImfile.quality = 0 63 69 AND magicDSFile.component IS NULL 64 70 UNION … … 68 74 magicRun.magic_id, 69 75 magicRun.exp_id, 76 magicDSRun.label, 70 77 camera, 71 78 magicMask.uri as streaks_uri, … … 75 82 warpSkyfile.uri, 76 83 warpSkyfile.path_base, 84 magicRun.inverse, 77 85 NULL as cam_path_base, 78 86 outroot, … … 95 103 AND warpRun.state = 'full' 96 104 AND warpSkyfile.fault = 0 97 AND warpSkyfile. ignored= 0105 AND warpSkyfile.quality = 0 98 106 AND magicDSFile.component IS NULL 99 107 UNION … … 103 111 magicRun.magic_id, 104 112 magicRun.exp_id, 113 magicDSRun.label, 105 114 rawExp.camera, 106 115 magicMask.uri as streaks_uri, … … 108 117 magicRun.diff_id as stage_id, 109 118 diffSkyfile.skycell_id as component, 110 diffSkyfile.uri,119 NULL AS uri, 111 120 diffSkyfile.path_base, 121 magicRun.inverse, 112 122 NULL as cam_path_base, 113 123 outroot, … … 121 131 JOIN magicInputSkyfile USING(magic_id) 122 132 JOIN diffSkyfile 123 ON magic InputSkyfile.diff_id = diffSkyfile.diff_id133 ON magicRun.diff_id = diffSkyfile.diff_id 124 134 AND magicInputSkyfile.node = diffSkyfile.skycell_id 125 135 LEFT JOIN magicDSFile … … 130 140 AND magicDSRun.stage = 'diff' 131 141 AND diffSkyfile.fault = 0 142 AND diffSkyfile.quality = 0 132 143 AND magicDSFile.component IS NULL 133 144 ) as Foo
Note:
See TracChangeset
for help on using the changeset viewer.
