mirror of https://github.com/grafana/loki
fix: Add special case handling for comparing empty and nil values (#19348)
We can have a predicate checking for an empty string, e.g. {"foo" = ""}. If a row has no value for the column "foo", it will return a nil value for that column. Thus, when we go to compare the row with the predicate, we will be comparing an empty value to a nil value. This change adjusts the comparison check so that we correctly handle this special case.
pull/19351/head
parent
134c5af50e
commit
af6983e9de
Loading…
Reference in new issue