Skip to content
New issue

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

Update Azure Data Explorer query runner to latest version #7209

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spacentropy
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor

Description

Hello. Here's the list of things that were improved:

  • upgraded Azure Data Explorer(Kusto) library to the latest version
  • added Materialized Views to schema viewer
  • added Managed Identities support for secrets-less auth
  • added query user annotation in request description
  • added data_scanned
  • added simple test to get_schema

How is this tested?

  • Unit tests (pytest, jest)
  • Manually

if msi:
kcsb = KustoConnectionStringBuilder.with_aad_managed_service_identity_authentication(cluster)
# Specific user assigned Managed Service Identity
elif msi and self.configuration["user_msi"]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this won't be called because if msi is True then it will always stop with the first if. You need to have this come before the plain if msi:.

)
# Service Principal auth
else:
kcsb = KustoConnectionStringBuilder.with_aad_application_key_authentication(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that this is optional in case msi is True we should confirm that all 3 fields have values in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants