[PDB-1453] handle comparison queries with non-numerics Created: 2015/04/23  Updated: 2015/07/10  Resolved: 2015/05/14

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: Wyatt Alt Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 1
Sprint: PuppetDB 2015-05-20


We should throw 400 here. Currently the behavior is this:

[~/Documents/puppetdb] (master) $ curl -X GET http://localhost:8080/v4/facts -d 'query=["<","value","1"]'
Wrong number of args (1) passed to: engine/eval10005/columns->fields--10006

Generated at Sun Sep 22 07:28:08 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.