[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Print format SORT not working



Sorry, the ASCENDING / DECENDING sort behavior and support for numeric keys was never implemented in condor_q.   There is a comment in the code to fix this some day, but it has never been enough of a priority to get developer time.

-tj


From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Jeff Templon <templon@xxxxxxxxx>
Sent: Friday, May 31, 2024 8:15 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Print format SORT not working
 
Hi,

SELECT NOSUMMARY
   ClusterId                     AS  JOB_ID  PRINTAS JOB_ID
   JobStatus                     AS "  ST"   WIDTH 3 PRINTAS JOB_STATUS
   Owner                         AS Username
   JobCurrentStartDate           AS time_started PRINTAS QDATE
   RemoteSysCpu+RemoteUserCpu    AS "   cputime"   PRINTAS CPU_TIME
   CpusUsage                     AS "  Efficiency"
   Cmd                           AS CMD      WIDTH -25 PRINTAS JOB_DESCRIPTION
   splitSlotName(RemoteHost)[1]  AS "  WorkerNode"  WIDTH -12
   CpusProvisioned               AS CPUS
WHERE
   JobStatus == 2
GROUP BY JobCurrentStartDate DESCENDING

I get the same output whether that last word is ASCENDING or DESCENDING.  What gives?

JT