humio / issues

Issue Tracker for Humio
4 stars 2 forks source link

Breaking change: back tick '`' is a reserved character #107

Closed ahe-humio closed 4 years ago

ahe-humio commented 4 years ago

In a future release, we'd like to introduce the possibility of comparing the value of two field, like this:

`field1` = `field2`

Today, it's complicated and slow to compare fields. For example, consider this:

field1 = field2

This doesn't mean compare the value of field1 to the value of field2. Instead, it means compare the value of field1 to the string "field2". Instead one has to write something like this:

x := field1 == field2 | x = true

By making ` a reserved character now, we can enable the syntax in the first code snippet above.

We don't expect this will have a huge impact on users, but we do see a few queries that use the back tick character in our logs from cloud users today. However, only from sandboxes. We hope the benefit of enabling comparison of fields will outweigh any inconvenience to our users.