dburkart / fossil

Simple and expressive time-series database written in Go
BSD 2-Clause "Simplified" License
5 stars 0 forks source link

== should support comparing strings #166

Open dburkart opened 1 year ago

dburkart commented 1 year ago

Currently we get the following:

> query all
+------------------------------------+--------+-------------------------------+-----------------------+
|                TIME                | TOPIC  |            SCHEMA             |         DATA          |
+------------------------------------+--------+-------------------------------+-----------------------+
| 2023-08-18T19:03:23.89212828-07:00 | /dicts | {"key":string,"value":int64,} | key: "id", value: 123 |
+------------------------------------+--------+-------------------------------+-----------------------+

> query all in /dicts | filter x -> x[key] == "id"
504 Syntax error found in query:
all in /dicts | filter x -> x[key] == "id"
                                   ^~ Both operands must be numeric