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

Re: [HTCondor-users] scheduling delay



Thanks. So I have a documentation question: which section is max() in? I don't see it in the index, nor in the classad mechanism section. I'm curious to see what other aggregate functions are there: any(), all()?

In section 4.1.1, "ClassAds: Old and New", there is a link to the external ClassAds library documentation*; that documentation includes a link to the language definition**, which contains a section (badly) named "Function Calls"***, which defines avg(), min(), and max(), among others. Note that these functions act on ClassAd lists ({x, y, x}). That is, they do not operate on the more-common StringLists ("x, y, z").

Also -- just to be clear -- these functions are not "aggregation" functions in the usual sense of combining data from multiple sources (in this context, multiple ads). In this case, the HTCondor code explicitly creates the ClassAd list attribute 'ChildEnteredCurrentState'.

- ToddM

*: http://research.cs.wisc.edu/htcondor/classad/classad.html
**: http://research.cs.wisc.edu/htcondor/classad/refman/
***: http://research.cs.wisc.edu/htcondor/classad/refman/node4.html#SECTION00043900000000000000