Changeset 43014 for branches/eam_branches/ipp-pstamp-20260421/ippTools/share/chiptool_completely_processed_exp.sql
- Timestamp:
- May 11, 2026, 3:09:36 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/ippTools/share/chiptool_completely_processed_exp.sql
r35789 r43014 20 20 (SELECT 21 21 chipRun.*, 22 rawImfile.class_id as rawimfile_class_id, 23 chipProcessedImfile.class_id, 22 -- rawImfile.class_id and chipProcessedImfile.class_id are not aggregated 23 -- and cause problems given the GROUP BY 24 -- clause below. A solution is to explicitly select a single value, the MIN. 25 -- But this is not needed because the field is not used by the rest of the query 26 -- rawImfile.class_id as rawimfile_class_id, 27 -- chipProcessedImfile.class_id, 28 -- MIN(rawImfile.class_id) as rawimfile_class_id, 24 29 -- XXX using chipProcessedImfile assumes that all imfile's have 25 30 -- the same magicked value if that isn't right then more than one … … 28 33 -- We could use rawExp.magicked but that would make it possible for 29 34 -- the chipRun to have a different magicked value than the imfiles 30 chipProcessedImfile.magickedAS imfile_magicked35 MIN(chipProcessedImfile.magicked) AS imfile_magicked 31 36 FROM chipRun 32 37 JOIN rawImfile
Note:
See TracChangeset
for help on using the changeset viewer.
