Jira (PDB-3588) PQL support for direct fact queries with and/or

2 views
Skip to first unread message

Russell Mull (JIRA)

unread,
Jun 22, 2017, 5:40:02 PM6/22/17
to puppe...@googlegroups.com
Russell Mull created an issue
 
PuppetDB / New Feature PDB-3588
PQL support for direct fact queries with and/or
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2017/06/22 2:39 PM
Priority: Normal Normal
Reporter: Russell Mull

It should be easier to write pql queries for things like: all nodes where (kernel = linux and selinux = false) or (kernel = windows)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Russell Mull (JIRA)

unread,
Jun 22, 2017, 5:40:03 PM6/22/17
to puppe...@googlegroups.com
Russell Mull updated an issue
Change By: Russell Mull
Fix Version/s: PDB 5.1.0

Russell Mull (JIRA)

unread,
Jun 22, 2017, 5:40:05 PM6/22/17
to puppe...@googlegroups.com

Wyatt Alt (JIRA)

unread,
Jun 24, 2017, 5:14:02 PM6/24/17
to puppe...@googlegroups.com
Wyatt Alt commented on New Feature PDB-3588
 
Re: PQL support for direct fact queries with and/or

the way I would do this today would be

inventory[certname]{facts.kernel = 'linux' and facts.selinux = false}

which seems relatively easy. Something facts-specific is also possible but I'd be wary of muddling up the query language model. Currently PQL "keywords" are tightly bound to the keys you get back in the response, and loosening that association might make the language harder for users to grok.

Kenn Hussey (JIRA)

unread,
Jul 20, 2017, 11:24:03 AM7/20/17
to puppe...@googlegroups.com
Kenn Hussey updated an issue
 
Change By: Kenn Hussey
Team: Data Platform

Russell Mull (JIRA)

unread,
Jul 21, 2017, 4:29:02 PM7/21/17
to puppe...@googlegroups.com
Russell Mull updated an issue
Change By: Russell Mull
Fix Version/s: PDB 5.1.0

Russell Mull (JIRA)

unread,
Jul 21, 2017, 4:29:04 PM7/21/17
to puppe...@googlegroups.com

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:56:05 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature query-engine-improvements
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages