Skip to content

Commit 556ef44

Browse files
icymistercrunch
authored andcommitted
docs: Add new Athena URI scheme awsathena+rest:// (apache#5112)
See also some discussions on laughingman7743/PyAthenaJDBC#62
1 parent 1d3e96b commit 556ef44

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docs/installation.rst

+10-3
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ Here's a list of some of the recommended packages.
314314
+---------------+-------------------------------------+-------------------------------------------------+
315315
| Athena | ``pip install "PyAthenaJDBC>1.0.9"``| ``awsathena+jdbc://`` |
316316
+---------------+-------------------------------------+-------------------------------------------------+
317+
| Athena | ``pip install "PyAthena>1.2.0"`` | ``awsathena+rest://`` |
318+
+---------------+-------------------------------------+-------------------------------------------------+
317319
| Vertica | ``pip install | ``vertica+vertica_python://`` |
318320
| | sqlalchemy-vertica-python`` | |
319321
+---------------+-------------------------------------+-------------------------------------------------+
@@ -341,6 +343,11 @@ Where you need to escape/encode at least the s3_staging_dir, i.e., ::
341343

342344
s3://... -> s3%3A//...
343345

346+
You can also use `PyAthena` library
347+
348+
awsathena+rest://{aws_access_key_id}:{aws_secret_access_key}@athena.{region_name}.amazonaws.com/{schema_name}?s3_staging_dir={s3_staging_dir}&...
349+
350+
_(See more details at https://github.com/laughingman7743/PyAthena#sqlalchemy.)_
344351

345352
Caching
346353
-------
@@ -362,7 +369,7 @@ For setting your timeouts, this is done in the Superset metadata and goes
362369
up the "timeout searchpath", from your slice configuration, to your
363370
data source's configuration, to your database's and ultimately falls back
364371
into your global default defined in ``CACHE_CONFIG``.
365-
372+
366373
.. code-block:: python
367374
368375
CACHE_CONFIG = {
@@ -657,13 +664,13 @@ Note that it's also possible to implement you own logger by deriving
657664
Install Superset with helm in Kubernetes
658665
--------------
659666

660-
You can install Superset into Kubernetes with Helm <https://helm.sh/>. The chart is
667+
You can install Superset into Kubernetes with Helm <https://helm.sh/>. The chart is
661668
located in ``install/helm``.
662669

663670
To install Superset into your Kubernetes:
664671

665672
.. code-block:: bash
666673
667-
helm upgrade --install superset ./install/helm/superset
674+
helm upgrade --install superset ./install/helm/superset
668675
669676
Note that the above command will install Superset into ``default`` namespace of your Kubernetes cluster.

0 commit comments

Comments
 (0)