IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 11, 2026, 3:09:36 PM (2 months ago)
Author:
eugene
Message:

fix various SQL errors caught by more strict mysql versions, especially: force SQL to select a specific entry from non-aggregated fields when other fields are aggregated using e.g., GROUP BY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/ippTools/share/warptool_towarped.sql

    r36529 r43014  
    7474        warpImfile.warp_skyfile_id,
    7575        warpSkyCellMap.skycell_id,
    76         warpSkyCellMap.tess_id,
     76        MIN(warpSkyCellMap.tess_id) as tess_id,
    7777        warpRun.fake_id,
    7878        warpRun.state,
     
    8484        warpRun.workdir,
    8585        MIN(chipProcessedImfile.magicked) AS magicked,
    86         warpSkyfile.path_base,
     86        MIN(warpSkyfile.path_base) as past_base,
    8787        IFNULL(Label.priority, 10000) AS priority
    8888    FROM warpRun
Note: See TracChangeset for help on using the changeset viewer.