microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.
Apache License 2.0
510 stars 97 forks source link

Can parse query referenced entity for conditional statement? #91

Closed poppy0708 closed 1 year ago

poppy0708 commented 1 year ago

Hi, Func definition: Func(para1:int){ print iff(para1==1, toscalar(T1), toscalar(T2)) }

If there are two expressions Func(1), Func(2) Is there a method that can parse out that Func(1) origin from T1, Func(2) origin from T2?

mattwar commented 1 year ago

No there is no such function defined in this library. However, this library is made public so you can create your own kind of analysis over your queries.

poppy0708 commented 1 year ago

Thanks Matt