Description
ExpressionBase has value member.
First time expr.Value() called this member is filled
If we replace expression under neath and called again it gives from previous value.
Repro:
|
CREATE INDEX ix1 ON default(c1); |
explain select c1 from default where c1 = null; |
NULL and MISSING can't be compared like above so it generates empty span which is right
|
|
curl -v http://Administrator:password@localhost:8093/query/service -H "Content-Type: application/json" -d '{"statement":"EXPLAIN select c1 from default where c1 = $name","$name":null}' |
|
Above curl generates different spans.
|
|