The Go package does not seem to properly execute comparison queries. For example, if I have data:
{
"resources": [
{
"description": "old",
"updated_at": "2023-04-05"
},
{
"description": "new",
"updated_at": "2024-03-06",
}
]
}
and execute query
resources[?updated_at > '2024-02-01']
the filtered result should only include the "new" resource. When I run this same example in the playground on the JMESPath site, I see the behavior I expect. When I run this in my Go code, I receive no results back from the search. Clearly, something is wrong in the Go code.
Also see the related issue against the original repo.
The Go package does not seem to properly execute comparison queries. For example, if I have data:
{ "resources": [ { "description": "old", "updated_at": "2023-04-05" }, { "description": "new", "updated_at": "2024-03-06", } ] }and execute query
resources[?updated_at > '2024-02-01']the filtered result should only include the "new" resource. When I run this same example in the playground on the JMESPath site, I see the behavior I expect. When I run this in my Go code, I receive no results back from the search. Clearly, something is wrong in the Go code.
Also see the related issue against the original repo.