Reproducer (make test have any mapping, it shouldn't matter):
SET unmapped_fields=nullify;
│ FROM test
| EVAL entity.id = \"foo\"
| STATS host.entity.id = VALUES(host.entity.id) WHERE host.entity.id IS NOT NULL
│ BY entity.id
{"error":{"root_cause":[{"type":"verification_exception","reason":"Found 1 problem\nline 1:120: Unknown column [host.entity.id], did you mean [entity.id]?"}],"type":"verification_exception","reason":"Found 1 problem\nline 1:120: Unknown column [host.entity.id], did you mean [entity.id]?"},"status":400}
Also happens with ROW:
SET unmapped_fields=nullify;
│ ROW x = 1
| EVAL entity.id = \"foo\"
| STATS host.entity.id = VALUES(host.entity.id) WHERE host.entity.id IS NOT NULL
│ BY entity.id
Somehow, we got an interaction with the EVAL - it doesn't repro without that.
Seems to have been introduced by #141340.
Reproducer (make
testhave any mapping, it shouldn't matter):Also happens with
ROW:Somehow, we got an interaction with the
EVAL- it doesn't repro without that.Seems to have been introduced by #141340.