We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from azure.kusto.data import KustoClient, KustoConnectionStringBuilder kcsb = KustoConnectionStringBuilder.with_aad_application_key_authentication( "https://ade.loganalytics.io/subscriptions/.../resourcegroups/.../providers/microsoft.operationalinsights/workspaces/...", "...", "...", "..." ) client = KustoClient(kcsb) results = client.execute( "...", "print x = dynamic(['a', 'b'])" ) print(type(results.primary_results[0][0]['x']))
The data type should be a list, just like when querying against ADX. Instead, I got a str.
list
str
This is also inconsistent with the ADX Web UI.
No
pip freeze
The text was updated successfully, but these errors were encountered:
We'll consider if an API is missing here. In the meantime you can do one of the following:
json.loads(results.primary_results[0][0]['x'])
KustoResultRow.conversion_funcs["dynamic"] = json.loads
Sorry, something went wrong.
Decided to add docs on advanced parsing handling.
yogilad
No branches or pull requests
Code Sample, a copy-pastable example if possible
Problem description
The data type should be a
list
, just like when querying against ADX.Instead, I got a
str
.This is also inconsistent with the ADX Web UI.
If query related, does it happen on other platforms (Kusto Web UI, Kusto Explorer)?
No
Output of
pip freeze
The text was updated successfully, but these errors were encountered: