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
11 changed files with 61 additions and 5 deletions
+5
View File
@@ -664,4 +664,9 @@ exports.createPages = ({ actions }) => {
toPath: '/docs/miscellaneous/issue-codes#issue-1005', toPath: '/docs/miscellaneous/issue-codes#issue-1005',
isPermanent: true, isPermanent: true,
}); });
createRedirect({
fromPath: '/docs/installation/email-reports',
toPath: '/docs/installation/alerts-reports',
isPermanent: true,
});
}; };
+1 -1
View File
@@ -137,7 +137,7 @@ export default class MainMenu extends React.Component {
const { visible } = this.state; const { visible } = this.state;
return ( return (
<Layout.Header css={headerStyle}> <Layout.Header css={headerStyle}>
<a href="https://superset.apache.org"> <a href="/">
<img height="50" css={logoStyle} src={logoSvg} alt="logo" /> <img height="50" css={logoStyle} src={logoSvg} alt="logo" />
</a> </a>
<MenuItems toggleDrawer={this.toggleDrawer} mode="horizontal" /> <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

@@ -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
```
@@ -46,7 +46,7 @@ The resulting file should have this structure:
"auth_uri": "...", "auth_uri": "...",
"token_uri": "...", "token_uri": "...",
"auth_provider_x509_cert_url": "...", "auth_provider_x509_cert_url": "...",
"client_x509_cert_url": "...", "client_x509_cert_url": "..."
} }
} }
``` ```
@@ -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/).
@@ -1,5 +1,5 @@
--- ---
name: SQL Server name: Microsoft SQL Server
menu: Connecting to Databases menu: Connecting to Databases
route: /docs/databases/sql-server route: /docs/databases/sql-server
index: 24 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: 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
``` ```
+1 -1
View File
@@ -361,7 +361,7 @@ const Theme = () => {
title="Integrates with modern databases" title="Integrates with modern databases"
descr={` descr={`
Superset can connect to any SQL based datasource 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. and engines at petabyte scale.
`} `}
/> />
+10
View File
@@ -215,6 +215,16 @@ export const Databases = [
href: 'https://www.sqlite.org/index.html', href: 'https://www.sqlite.org/index.html',
imgName: 'sqllite.png', imgName: 'sqllite.png',
}, },
{
title: 'Trino',
href: 'https://trino.io/',
imgName: 'trino2.jpg',
},
{
title: 'Rockset',
href: 'https://rockset.com/',
imgName: 'rockset.png',
},
{ {
title: 'Vertica', title: 'Vertica',
href: 'https://www.vertica.com/', href: 'https://www.vertica.com/',