This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new ac7dcc3a8d chore(database): raised version of sqlalchemy-kusto (#21370)
ac7dcc3a8d is described below
commit ac7dcc3a8d62c9902d42dabf7d7b8fa8ab6cde2e
Author: Eugene Bikkinin <[email protected]>
AuthorDate: Fri Sep 9 11:55:36 2022 +0300
chore(database): raised version of sqlalchemy-kusto (#21370)
---
docs/docs/databases/kusto.mdx | 26 ++++++++++++++++++++++++++
setup.py | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/docs/docs/databases/kusto.mdx b/docs/docs/databases/kusto.mdx
new file mode 100644
index 0000000000..3efe4ac8f5
--- /dev/null
+++ b/docs/docs/databases/kusto.mdx
@@ -0,0 +1,26 @@
+---
+name: Kusto
+hide_title: true
+sidebar_position: 41
+version: 2
+---
+
+## Kusto
+
+The recommended connector library for Kusto is
+[sqlalchemy-kusto](https://pypi.org/project/sqlalchemy-kusto/2.0.0/)>=2.0.0.
+
+The connection string for Kusto (sql dialect) looks like this:
+
+```
+kustosql+https://{cluster_url}/{database}?azure_ad_client_id={azure_ad_client_id}&azure_ad_client_secret={azure_ad_client_secret}&azure_ad_tenant_id={azure_ad_tenant_id}&msi=False
+```
+
+The connection string for Kusto (kql dialect) looks like this:
+
+```
+kustokql+https://{cluster_url}/{database}?azure_ad_client_id={azure_ad_client_id}&azure_ad_client_secret={azure_ad_client_secret}&azure_ad_tenant_id={azure_ad_tenant_id}&msi=False
+```
+
+Make sure the user has privileges to access and use all required
+databases/tables/views.
diff --git a/setup.py b/setup.py
index 427d6364b2..23a50fa714 100644
--- a/setup.py
+++ b/setup.py
@@ -153,7 +153,7 @@ setup(
"hana": ["hdbcli==2.4.162", "sqlalchemy_hana==0.4.0"],
"hive": ["pyhive[hive]>=0.6.5", "tableschema", "thrift>=0.14.1,
<1.0.0"],
"impala": ["impyla>0.16.2, <0.17"],
- "kusto": ["sqlalchemy-kusto>=1.0.1, <2"],
+ "kusto": ["sqlalchemy-kusto>=2.0.0, <3"],
"kylin": ["kylinpy>=2.8.1, <2.9"],
"mssql": ["pymssql>=2.1.4, <2.2"],
"mysql": ["mysqlclient>=2.1.0, <3"],