[PDB-1064] Extract fails on a subexpression with two items Created: 2014/12/10  Updated: 2016/04/27  Resolved: 2014/12/11

Status: Closed
Project: PuppetDB
Component/s: None
Affects Version/s: PDB 3.0.0
Fix Version/s: PDB 3.0.0

Type: Bug Priority: Normal
Reporter: Ryan Senior Assignee: Ryan Senior
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Epic Link: High availability improvements
Story Points: 1
Sprint: PuppetDB 2014-12-17


Using a top-level extract with two items in it's sub expression fails:

["extract", ["certname", "hash"]
  ["not" ["=" "certname" "foo.com"]]]

The top-level extract is being interpreted as a subquery.

Generated at Tue Jan 21 22:01:12 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.