Jira (PDB-4731) Misspelled query modifiers like groupy_by can result in all results being returned

15 views
Skip to first unread message

Austin Blatt (Jira)

unread,
May 14, 2020, 1:13:03 PM5/14/20
to puppe...@googlegroups.com
Austin Blatt created an issue
 
PuppetDB / Bug PDB-4731
Misspelled query modifiers like groupy_by can result in all results being returned
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/05/14 10:12 AM
Priority: Normal Normal
Reporter: Austin Blatt

An AST query like

curl -X POST http://localhost:8080/pdb/query/v4   -H 'Content-Type:application/json'   -d '{"query": ["from", "reports", ["extract", [["function", "count", "certname"]], ["null?", "type", false], ["groupy_by", "certname"]]] }' | jq

should error because the operator groupy_by is misspelled.

Instead, it ignores the entire ["extract" ... filter and returns the results of the query ["from", "reports"].

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Zachary Kent (Jira)

unread,
Sep 3, 2020, 2:50:04 PM9/3/20
to puppe...@googlegroups.com

Zachary Kent (Jira)

unread,
Feb 17, 2021, 2:11:02 PM2/17/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Aug 25, 2021, 4:36:03 AM8/25/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Team: HA Ghost
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Bogdan Irimie (Jira)

unread,
Aug 25, 2021, 4:42:03 AM8/25/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Aug 25, 2021, 4:46:02 AM8/25/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Sep 8, 2021, 3:43:03 AM9/8/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Sep 22, 2021, 3:47:02 AM9/22/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-08.09.2021, ghost-22.09.2021 , ghost-6.10.2021

Bogdan Irimie (Jira)

unread,
Sep 22, 2021, 3:53:03 AM9/22/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-08.09.2021, ghost-22.09.2021, ghost- 6 20 .10. 2021 2022

Bogdan Irimie (Jira)

unread,
Sep 29, 2021, 3:26:03 AM9/29/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-08.09.2021, ghost-22.09.2021, ghost- 20 6 .10. 2022 2021

Sebastian Miclea (Jira)

unread,
Oct 5, 2021, 9:29:03 AM10/5/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages