Skip to content

Commit

Permalink
feat: support databend for superset (#23308)
Browse files Browse the repository at this point in the history
  • Loading branch information
hantmac authored and pull[bot] committed Mar 26, 2024
1 parent 88eec7f commit f5d7a94
Show file tree
Hide file tree
Showing 6 changed files with 508 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Here are some of the major database solutions that are supported:
<img src="superset-frontend/src/assets/images/pinot.png" alt="pinot" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/teradata.png" alt="teradata" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/yugabyte.png" alt="yugabyte" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/databend.svg" alt="databend" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/starrocks.png" alt="starrocks" border="0" width="200" height="80"/>
</p>

Expand Down
23 changes: 23 additions & 0 deletions docs/docs/databases/databend.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Databend
hide_title: true
sidebar_position: 39
version: 1
---

## Databend

The recommended connector library for Databend is [databend-sqlalchemy](https://pypi.org/project/databend-sqlalchemy/).
Superset has been tested on `databend-sqlalchemy>=0.2.3`.

The recommended connection string is:

```
databend://{username}:{password}@{host}:{port}/{database_name}
```

Here's a connection string example of Superset connecting to a Databend database:

```
databend://user:password@localhost:8000/default?secure=false
```
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def get_git_sha() -> str:
with open(VERSION_INFO_FILE, "w") as version_file:
json.dump(version_info, version_file)


setup(
name="apache-superset",
description="A modern, enterprise-ready business intelligence web application",
Expand Down
1 change: 1 addition & 0 deletions superset-frontend/src/assets/images/databend.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f5d7a94

Please sign in to comment.