azure-kusto-python
azure-kusto-python copied to clipboard
Fetching a large dataset more tha 64MB, returns None to execute function.
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 data how it does in ADX. I dont want to use the notruncation method as it can lead the dead kernel situations. Is there any other way where I can receive the partial data ?
You can use streaming query to get the results as they arrive-
result = client.execute_streaming_query(self.test_db, self.streaming_test_table_query + ";" + self.streaming_test_table_query)
for primary in result.iter_primary_results():
for row in primary:
# work on rows
Closing, feel free to open with a comment.