azure-kusto-python
azure-kusto-python copied to clipboard
Kusto client libraries for Python
**Is your feature request related to a problem? Please describe.** As a developer, I want to be able to build, test and run the SDK with Poetry. **Describe the solution...
#### Code Sample, a copy-pastable example if possible ```python 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...
#### Code Sample ```python KUSTO_DATABASE = 'DbJsErc' REGION = "northeurope" CLUSTER_NAME = 'kvc0rqpapuw5sdsq51c0sa' KUSTO_INGEST_URI = f"https://ingest-{CLUSTER_NAME}.{REGION}.kusto.windows.net/" CREATE_TABLE_COMMAND = ".create table test (test: string)" kcsb_ingest = KustoConnectionStringBuilder.with_interactive_login(KUSTO_INGEST_URI) client_ingest = KustoClient(kcsb_ingest) client_ingest.execute_mgmt(KUSTO_DATABASE,...
Hey team, just wondering what the plan is for using `report_method=ReportMethod.Table` when ingesting in python? I stumbled upon docs for it in the .NET kusto ingest samples and it would...
When I am using the execute() function to fetch data from the Kusto using python, if the response is more than 64MB, it returns me None rather than returning partial...
### Added Added NotImplementedError if ignore_first_record is True to avoid introducing data integrity error when loading .csv file when invoking method ingest_from_file. if ignore_first_record is set to True, then the...
Changes the tracing format to be always allowed in headers, and easier to reason about: - Only allowed chars: [a-zA-Z0-9_.\-()] (Note: not using \w because we don't want non-ascii chars)...
Is there a way to get the client activity id for each query execution? To be more specific, response = client.execute(db, query), how do i get the ClientActivityId for that...
Added Kusto Uploader for V2 ingest
1. Updated handle_http_error func to handle 401 errors. 2. Updates client.py to check if json is empty before parsing.