microsoft / jupyter-Kqlmagic

Extension (Magic) to Jupyter notebook and Jupyter lab, that enable notebook experience working with Kusto, ApplicationInsights, and LogAnalytics data.
Other
85 stars 31 forks source link

Fix quote in dataframe handing of parameterizer #55

Closed miflower closed 4 years ago

miflower commented 4 years ago

Use repr against dataframe strings as well, similar to #50 , except applying to values within dataframes.

First query

x = "Zombie's Hand"
%%kql
let _x = x;
datatable(Name: string, Cute: bool) [
"Squirrel", true,
"Zombie's Hand", false
]
| where Name == _x

Use that dataframe later on

%%kql
let _c = _kql_raw_result;
_c
| extend Dead = "True"