IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2015, 5:09:21 PM (11 years ago)
Author:
heather
Message:

schema 21 / sas 39 ipptopsps - random now float/double, forced object column names changed to be less confusing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/objectbatch.py

    r37935 r38397  
    364364        sqlLine.group("ippObjID",        "OBJ_ID + (CAT_ID << 32)") # NOTE: shift by 32 bits exactly
    365365        sqlLine.group("surveyID",        "'" + str(self.surveyID) + "'")
    366         sqlLine.group("randomID",        "FLOOR(RAND("+str(self.batchID)+")*9223372036854775807)") # XXX where does this number come from??
     366        sqlLine.group("randomID",        "RAND("+str(self.batchID)+")") # XXX where does this number come from??
    367367        sqlLine.group("batchID",         "'" + str(self.batchID) + "'")
    368368        sqlLine.group("dvoRegionID",     "CAT_ID")
Note: See TracChangeset for help on using the changeset viewer.