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

KQL simulator for unit test #53

Closed callmewhy closed 2 years ago

callmewhy commented 2 years ago

Hi team, I hope to unit test my KQL queries.

Do we have something like KQL engine to parse the query and simulate in a memory database?

For example, I have a query like data | project name. I can provide mock data like [{name:"hello", age: 1}], how can I get the computed result [{name:"hello"}] without running in Kusto Cluster?

Thanks

sloutsky commented 2 years ago

At this point - the only option is to have a dev-SKU (single machine, 2-core) cluster. We are working on plans around having emulator-like capabilities - but nothing concrete at this point we can share.