mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
fix(teradata): LIMIT syntax (#18240)
Co-authored-by: Mccush, Jack <jack.mccush@teradata.com> Co-authored-by: Jack McCush <33156805+mccushjack@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: David McNulla <david.mcnulla@teradata.com>
This commit is contained in:
@@ -569,7 +569,7 @@ Here's a list of some of the recommended packages.
|
||||
+------------------+-------------------------------------------------------------------+-------------------------------------------------+
|
||||
| SQL Server | ``"apache-superset[mssql]"`` | ``mssql://`` |
|
||||
+------------------+-------------------------------------------------------------------+-------------------------------------------------+
|
||||
| Teradata | ``"apache-superset[teradata]"`` | ``teradata://`` |
|
||||
| Teradata | ``"apache-superset[teradata]"`` | ``teradatasql://`` |
|
||||
+------------------+-------------------------------------------------------------------+-------------------------------------------------+
|
||||
| Vertica | ``"apache-superset[vertical]"`` | ``vertica+vertica_python://`` |
|
||||
+------------------+-------------------------------------------------------------------+-------------------------------------------------+
|
||||
@@ -753,16 +753,17 @@ Teradata
|
||||
|
||||
The connection string for Teradata looks like this ::
|
||||
|
||||
teradata://{user}:{password}@{host}
|
||||
The recommended connector library is
|
||||
[teradatasql](https://github.com/Teradata/python-driver).
|
||||
Also, see the latest on [PyPi](https://pypi.org/project/teradatasql/)
|
||||
|
||||
*Note*: Its required to have Teradata ODBC drivers installed and environment variables configured for proper work of sqlalchemy dialect. Teradata ODBC Drivers available here: https://downloads.teradata.com/download/connectivity/odbc-driver/linux
|
||||
The connection string for Teradata looks like this:
|
||||
|
||||
Required environment variables: ::
|
||||
```
|
||||
teradatasql://{user}:{password}@{host}
|
||||
```
|
||||
|
||||
export ODBCINI=/.../teradata/client/ODBC_64/odbc.ini
|
||||
export ODBCINST=/.../teradata/client/ODBC_64/odbcinst.ini
|
||||
|
||||
See `Teradata SQLAlchemy <https://github.com/Teradata/sqlalchemy-teradata>`_.
|
||||
See `Teradata SQL Native Python Driver <https://github.com/Teradata/python-driver>`_.
|
||||
|
||||
Apache Drill
|
||||
------------
|
||||
|
||||
@@ -56,7 +56,7 @@ A list of some of the recommended packages.
|
||||
|[Snowflake](/docs/databases/snowflake)|```pip install snowflake-sqlalchemy```|```snowflake://{user}:{password}@{account}.{region}/{database}?role={role}&warehouse={warehouse}```|
|
||||
|SQLite||```sqlite://```|
|
||||
|[SQL Server](/docs/databases/sql-server)|```pip install pymssql```|```mssql://```|
|
||||
|[Teradata](/docs/databases/teradata)|```pip install sqlalchemy-teradata```|```teradata://{user}:{password}@{host}```|
|
||||
|[Teradata](/docs/databases/teradata)|```pip install teradatasql```|```teradatasql://{user}:{password}@{host}```|
|
||||
|[Vertica](/docs/databases/vertica)|```pip install sqlalchemy-vertica-python```|```vertica+vertica_python://<UserName>:<DBPassword>@<Database Host>/<Database Name>```|
|
||||
|
||||
***
|
||||
|
||||
@@ -9,21 +9,10 @@ version: 1
|
||||
## Teradata
|
||||
|
||||
The recommended connector library is
|
||||
[sqlalchemy-teradata](https://github.com/Teradata/sqlalchemy-teradata).
|
||||
[teradatasql](https://github.com/Teradata/python-driver).
|
||||
|
||||
The connection string for Teradata looks like this:
|
||||
|
||||
```
|
||||
teradata://{user}:{password}@{host}
|
||||
```
|
||||
|
||||
Note: Its required to have Teradata ODBC drivers installed and environment variables configured for
|
||||
proper work of sqlalchemy dialect. Teradata ODBC Drivers available here:
|
||||
https://downloads.teradata.com/download/connectivity/odbc-driver/linux
|
||||
|
||||
Required environment variables:
|
||||
|
||||
```
|
||||
export ODBCINI=/.../teradata/client/ODBC_64/odbc.ini
|
||||
export ODBCINST=/.../teradata/client/ODBC_64/odbcinst.ini
|
||||
teradatasql://{user}:{password}@{host}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user