[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Python bindings: query wildcards & not all ClassAds returned?
- Date: Mon, 25 Jul 2016 11:18:30 -0500
- From: Brian Bockelman <bbockelm@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Python bindings: query wildcards & not all ClassAds returned?
Try using the regexp function in the query:
*Note*: thereâs no way to wildcard *attribute names*: you have to list all those you want returned, or get all attributes in the response. TJ has been talking about wildcards in the projection for awhile. To my knowledge, no work toward this has been done.
> On Jul 25, 2016, at 11:14 AM, Thomas Hartmann <thomas.hartmann@xxxxxxx> wrote:
> Hi all,
> is it actually possible to use the filter with wildcards?
> E.g., can I query for all masters in a pool where the name matches a
> wildcarded pattern?
> So far, I was able to filter on a specific master's  - but apparently
> "Name = "wn*.desy.de"" is not possible
> Cheers and thanks,
>>>> condorCollector.query(htcondor.AdTypes.Master, 'Machine =?=
> [[ MyType = "DaemonMaster"; Name = "wn1-test.desy.de"; MyAddress =
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> The archives can be found at: