chore: Added rockset and firebird (#13418)

* 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
This commit is contained in:
Srini Kadamati 2021-03-03 08:55:59 -05:00 committed by GitHub
parent 8b38d63b7d
commit 26b75fadc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 61 additions and 5 deletions

View File

@ -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,
});
};

View File

@ -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" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -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
```

View File

@ -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": "..."
}
}
```

View File

@ -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/).

View File

@ -1,5 +1,5 @@
---
name: SQL Server
name: Microsoft SQL Server
menu: Connecting to Databases
route: /docs/databases/sql-server
index: 24
@ -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
```

View File

@ -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.
`}
/>

View File

@ -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/',