tencentmusic / supersonic

SuperSonic is the next-generation BI+AI platform that unifies Chat BI (powered by LLM) and Headless BI (powered by semantic layer) paradigms.
Other
2.17k stars 368 forks source link

[Bug] 复合指标的计算中引用了一个派生指标(带限定条件)时,结果中过滤条件丢失 #1248

Open rcnn opened 3 months ago

rcnn commented 3 months ago

Search before asking

Version

0.9.2

What's Wrong?

指标(qty):qty,算子:sum 指标(bigamt):来自于度量(amt)+限定条件(amt>100) ,算子:sum 复合指标: bigamt / qty
结果中过滤条件丢失,没有限定amt>100的条件

What You Expected?

应该先满足被引用指标的限定条件后,再进行运算。

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

Code of Conduct