Skip to content

Commit

Permalink
chore: Added rockset and firebird (#13418)
Browse files Browse the repository at this point in the history
* added URL rerouting from old alerts & reports page to new one

* edited SQL Server, Rockset, db ordering, and link that Superset logo in left corner takes you to

* added Trino logo and firebird connection string and removed bigquery trailing comma

* added ROckset logo

* changed db list ordering for firebird

* tweaked presnetation of firebird connection string
  • Loading branch information
srinify authored Mar 3, 2021
1 parent 8b38d63 commit 26b75fa
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 5 deletions.
5 changes: 5 additions & 0 deletions docs/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,4 +664,9 @@ exports.createPages = ({ actions }) => {
toPath: '/docs/miscellaneous/issue-codes#issue-1005',
isPermanent: true,
});
createRedirect({
fromPath: '/docs/installation/email-reports',
toPath: '/docs/installation/alerts-reports',
isPermanent: true,
});
};
2 changes: 1 addition & 1 deletion docs/src/components/MainMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default class MainMenu extends React.Component {
const { visible } = this.state;
return (
<Layout.Header css={headerStyle}>
<a href="https://superset.apache.org">
<a href="/">
<img height="50" css={logoStyle} src={logoSvg} alt="logo" />
</a>
<MenuItems toggleDrawer={this.toggleDrawer} mode="horizontal" />
Expand Down
Binary file added docs/src/images/databases/rockset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/images/databases/trino.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/images/databases/trino2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions docs/src/pages/docs/Connecting to Databases/firebird.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Firebird
menu: Connecting to Databases
route: /docs/databases/firebird
index: 30
version: 1
---

## Firebird

The recommended connector library for Firebird is [sqlalchemy-firebird](https://pypi.org/project/sqlalchemy-firebird/).
Superset has been tested on `sqlalchemy-firebird>=0.7.0, <0.8`.

The recommended connection string is:

```
firebird+fdb://{username}:{password}@{host}:{port}//{path_to_db_file}
```

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

```
firebird+fdb://SYSDBA:masterkey@192.168.86.38:3050//Library/Frameworks/Firebird.framework/Versions/A/Resources/examples/empbuild/employee.fdb
```
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The resulting file should have this structure:
"auth_uri": "...",
"token_uri": "...",
"auth_provider_x509_cert_url": "...",
"client_x509_cert_url": "...",
"client_x509_cert_url": "..."
}
}
```
Expand Down
17 changes: 17 additions & 0 deletions docs/src/pages/docs/Connecting to Databases/rockset.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Rockset
menu: Connecting to Databases
route: /docs/databases/rockset
index: 29
version: 1
---

## Rockset

The connection string for Rockset is:

```
rockset://apikey:{your-apikey}@api.rs2.usw2.rockset.com/
```

For more complete instructions, we recommend the [Rockset documentation](https://docs.rockset.com/apache-superset/).
4 changes: 2 additions & 2 deletions docs/src/pages/docs/Connecting to Databases/sql-server.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: SQL Server
name: Microsoft SQL Server
menu: Connecting to Databases
route: /docs/databases/sql-server
index: 24
Expand All @@ -13,5 +13,5 @@ The recommended connector library for SQL Server is [pymssql](https://github.com
The connection string for SQL Server looks like this:

```
mssql+pymssql://UserName@DB:Password@DB_Host:1433/TestSchema
mssql+pymssql://<Username>:<Password>@<Host>:<Port-default:1433>/<Database Name>/?Encrypt=yes
```
2 changes: 1 addition & 1 deletion docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ const Theme = () => {
title="Integrates with modern databases"
descr={`
Superset can connect to any SQL based datasource
through SQL Alchemy, including modern cloud native databases
through SQLAlchemy, including modern cloud native databases
and engines at petabyte scale.
`}
/>
Expand Down
10 changes: 10 additions & 0 deletions docs/src/resources/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,16 @@ export const Databases = [
href: 'https://www.sqlite.org/index.html',
imgName: 'sqllite.png',
},
{
title: 'Trino',
href: 'https://trino.io/',
imgName: 'trino2.jpg',
},
{
title: 'Rockset',
href: 'https://rockset.com/',
imgName: 'rockset.png',
},
{
title: 'Vertica',
href: 'https://www.vertica.com/',
Expand Down

0 comments on commit 26b75fa

Please sign in to comment.