This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/incubator-superset-site.git
commit 2ce436757b6ee971c96a32293847c5e178866326 Author: Maxime Beauchemin <[email protected]> AuthorDate: Thu Jul 27 09:57:50 2017 -0700 Adding Apache mentions --- _modules/index.html | 8 +++--- _modules/superset/jinja_context.html | 8 +++--- _sources/faq.txt | 19 ++++++++++---- _sources/index.txt | 32 ++++++++++++++++------- _sources/installation.txt | 24 ++++++++--------- _static/img/viz_thumbnails/chord.png | Bin 0 -> 407616 bytes _static/img/viz_thumbnails/event_flow.png | Bin 0 -> 108626 bytes druid.html | 8 +++--- faq.html | 23 ++++++++++------ gallery.html | 8 +++--- genindex.html | 8 +++--- index.html | 42 +++++++++++++++++++----------- installation.html | 32 +++++++++++------------ objects.inv | Bin 459 -> 457 bytes search.html | 8 +++--- searchindex.js | 2 +- security.html | 8 +++--- sqllab.html | 8 +++--- tutorial.html | 8 +++--- videos.html | 8 +++--- visualization.html | 8 +++--- 21 files changed, 151 insertions(+), 111 deletions(-) diff --git a/_modules/index.html b/_modules/index.html index 1807977..b17549c 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Overview: module code — Superset's documentation documentation</title> + <title>Overview: module code — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="../genindex.html"/> <link rel="search" title="Search" href="../search.html"/> - <link rel="top" title="Superset's documentation documentation" href="../index.html"/> + <link rel="top" title="Apache Superset documentation" href="../index.html"/> <script src="../_static/js/modernizr.min.js"></script> @@ -51,7 +51,7 @@ - <a href="../index.html" class="icon icon-home"> Superset's documentation + <a href="../index.html" class="icon icon-home"> Apache Superset @@ -101,7 +101,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="../index.html">Superset's documentation</a> + <a href="../index.html">Apache Superset</a> </nav> diff --git a/_modules/superset/jinja_context.html b/_modules/superset/jinja_context.html index 1774dbe..7a26a87 100644 --- a/_modules/superset/jinja_context.html +++ b/_modules/superset/jinja_context.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>superset.jinja_context — Superset's documentation documentation</title> + <title>superset.jinja_context — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="../../genindex.html"/> <link rel="search" title="Search" href="../../search.html"/> - <link rel="top" title="Superset's documentation documentation" href="../../index.html"/> + <link rel="top" title="Apache Superset documentation" href="../../index.html"/> <link rel="up" title="Module code" href="../index.html"/> @@ -52,7 +52,7 @@ - <a href="../../index.html" class="icon icon-home"> Superset's documentation + <a href="../../index.html" class="icon icon-home"> Apache Superset @@ -102,7 +102,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="../../index.html">Superset's documentation</a> + <a href="../../index.html">Apache Superset</a> </nav> diff --git a/_sources/faq.txt b/_sources/faq.txt index 350d483..1777ca4 100644 --- a/_sources/faq.txt +++ b/_sources/faq.txt @@ -48,12 +48,21 @@ https://github.com/airbnb/superset/issues?q=label%3Aexample+is%3Aclosed Why are my queries timing out? ------------------------------ -If you are seeing timeouts (504 Gateway Time-out) when running queries, -it's because the web server is timing out web requests. If you want to -increase the default (50), you can specify the timeout when starting the -web server with the ``-t`` flag, which is expressed in seconds. +There are many reasons may cause long query timing out. -``superset runserver -t 300`` + +- For running long query from Sql Lab, by default Superset allows it run as long as 6 hours before it being killed by celery. If you want to increase the time for running query, you can specify the timeout in configuration. For example: + + ``SQLLAB_ASYNC_TIME_LIMIT_SEC = 60 * 60 * 6`` + + +- Superset is running on gunicorn web server, which may time out web requests. If you want to increase the default (50), you can specify the timeout when starting the web server with the ``-t`` flag, which is expressed in seconds. + + ``superset runserver -t 300`` + +- If you are seeing timeouts (504 Gateway Time-out) when loading dashboard or explore slice, you are probably behind gateway or proxy server (such as Nginx). If it did not receive a timely response from Superset server (which is processing long queries), these web servers will send 504 status code to clients directly. Superset has a client-side timeout limit to address this issue. If query didn't come back within clint-side timeout (45 seconds by default), Superset will display warning m [...] + + ``export const QUERY_TIMEOUT_THRESHOLD = 45000;`` Why is the map not visible in the mapbox visualization? diff --git a/_sources/index.txt b/_sources/index.txt index 5141039..fc18870 100644 --- a/_sources/index.txt +++ b/_sources/index.txt @@ -1,10 +1,10 @@ .. image:: _static/img/s.png -Superset's documentation -'''''''''''''''''''''''' +Apache Superset (incubating) +'''''''''''''''''''''''''''' -Superset is a data exploration platform designed to be visual, intuitive -and interactive. +Apache Superset (incubating) is a modern, enterprise-ready business +intelligence web application ---------------- @@ -12,25 +12,37 @@ and interactive. .. warning:: This project was originally named Panoramix, was renamed to Caravel in March 2016, and is currently named Superset as of November 2016 +.. important:: + + **Disclaimer**: Apache Airflow is an effort undergoing incubation at The + Apache Software Foundation (ASF), sponsored by the Apache Incubator. + Incubation is required of all newly accepted projects until a further + review indicates that the infrastructure, communications, and + decision making process have stabilized in a manner consistent with + other successful ASF projects. While incubation status is not + necessarily a reflection of the completeness or stability of + the code, it does indicate that the project has yet to be fully + endorsed by the ASF. + Overview ======================================= Features --------- -- A rich set of data visualizations, integrated from some of the best - visualization libraries -- Create and share simple dashboards -- An extensible, high-granularity security/permission model allowing - intricate rules on who can access individual features and the dataset +- A rich set of data visualizations +- An easy-to-use interface for exploring and visualizing data +- Create and share dashboards - Enterprise-ready authentication with integration with major authentication providers (database, OpenID, LDAP, OAuth & REMOTE_USER through Flask AppBuilder) +- An extensible, high-granularity security/permission model allowing + intricate rules on who can access individual features and the dataset - A simple semantic layer, allowing users to control how data sources are displayed in the UI by defining which fields should show up in which drop-down and which aggregation and function metrics are made available to the user -- Integration with most RDBMS through SqlAlchemy +- Integration with most SQL-speaking RDBMS through SQLAlchemy - Deep integration with Druid.io ------ diff --git a/_sources/installation.txt b/_sources/installation.txt index 10aa7d7..c9b027a 100644 --- a/_sources/installation.txt +++ b/_sources/installation.txt @@ -392,13 +392,13 @@ have the same configuration. .. code-block:: python - class CeleryConfig(object): - BROKER_URL = 'redis://localhost:6379/0' - CELERY_IMPORTS = ('superset.sql_lab', ) - CELERY_RESULT_BACKEND = 'redis://localhost:6379/0' - CELERY_ANNOTATIONS = {'tasks.add': {'rate_limit': '10/s'}} + class CeleryConfig(object): + BROKER_URL = 'redis://localhost:6379/0' + CELERY_IMPORTS = ('superset.sql_lab', ) + CELERY_RESULT_BACKEND = 'redis://localhost:6379/0' + CELERY_ANNOTATIONS = {'tasks.add': {'rate_limit': '10/s'}} - CELERY_CONFIG = CeleryConfig + CELERY_CONFIG = CeleryConfig To setup a result backend, you need to pass an instance of a derivative of ``werkzeug.contrib.cache.BaseCache`` to the ``RESULTS_BACKEND`` @@ -410,13 +410,13 @@ look something like: .. code-block:: python - # On S3 - from s3cache.s3cache import S3Cache - S3_CACHE_BUCKET = 'foobar-superset' - S3_CACHE_KEY_PREFIX = 'sql_lab_result' - RESULTS_BACKEND = S3Cache(S3_CACHE_BUCKET, S3_CACHE_KEY_PREFIX) + # On S3 + from s3cache.s3cache import S3Cache + S3_CACHE_BUCKET = 'foobar-superset' + S3_CACHE_KEY_PREFIX = 'sql_lab_result' + RESULTS_BACKEND = S3Cache(S3_CACHE_BUCKET, S3_CACHE_KEY_PREFIX) - # On Redis + # On Redis from werkzeug.contrib.cache import RedisCache RESULTS_BACKEND = RedisCache( host='localhost', port=6379, key_prefix='superset_results') diff --git a/_static/img/viz_thumbnails/chord.png b/_static/img/viz_thumbnails/chord.png new file mode 100644 index 0000000..a4a30b6 Binary files /dev/null and b/_static/img/viz_thumbnails/chord.png differ diff --git a/_static/img/viz_thumbnails/event_flow.png b/_static/img/viz_thumbnails/event_flow.png new file mode 100644 index 0000000..4576529 Binary files /dev/null and b/_static/img/viz_thumbnails/event_flow.png differ diff --git a/druid.html b/druid.html index 524a7c8..6c568d5 100644 --- a/druid.html +++ b/druid.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Druid — Superset's documentation documentation</title> + <title>Druid — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="next" title="FAQ" href="faq.html"/> <link rel="prev" title="Gallery" href="gallery.html"/> @@ -53,7 +53,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -111,7 +111,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> diff --git a/faq.html b/faq.html index 04f8452..8254d28 100644 --- a/faq.html +++ b/faq.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>FAQ — Superset's documentation documentation</title> + <title>FAQ — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="prev" title="Druid" href="druid.html"/> @@ -52,7 +52,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -113,7 +113,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> @@ -180,11 +180,18 @@ visualizations.</p> </div> <div class="section" id="why-are-my-queries-timing-out"> <h2>Why are my queries timing out?<a class="headerlink" href="#why-are-my-queries-timing-out" title="Permalink to this headline">¶</a></h2> -<p>If you are seeing timeouts (504 Gateway Time-out) when running queries, -it’s because the web server is timing out web requests. If you want to -increase the default (50), you can specify the timeout when starting the -web server with the <code class="docutils literal"><span class="pre">-t</span></code> flag, which is expressed in seconds.</p> +<p>There are many reasons may cause long query timing out.</p> +<ul> +<li><p class="first">For running long query from Sql Lab, by default Superset allows it run as long as 6 hours before it being killed by celery. If you want to increase the time for running query, you can specify the timeout in configuration. For example:</p> +<p><code class="docutils literal"><span class="pre">SQLLAB_ASYNC_TIME_LIMIT_SEC</span> <span class="pre">=</span> <span class="pre">60</span> <span class="pre">*</span> <span class="pre">60</span> <span class="pre">*</span> <span class="pre">6</span></code></p> +</li> +<li><p class="first">Superset is running on gunicorn web server, which may time out web requests. If you want to increase the default (50), you can specify the timeout when starting the web server with the <code class="docutils literal"><span class="pre">-t</span></code> flag, which is expressed in seconds.</p> <p><code class="docutils literal"><span class="pre">superset</span> <span class="pre">runserver</span> <span class="pre">-t</span> <span class="pre">300</span></code></p> +</li> +<li><p class="first">If you are seeing timeouts (504 Gateway Time-out) when loading dashboard or explore slice, you are probably behind gateway or proxy server (such as Nginx). If it did not receive a timely response from Superset server (which is processing long queries), these web servers will send 504 status code to clients directly. Superset has a client-side timeout limit to address this issue. If query didn’t come back within clint-side timeout (45 seconds by default), Supers [...] +<p><code class="docutils literal"><span class="pre">export</span> <span class="pre">const</span> <span class="pre">QUERY_TIMEOUT_THRESHOLD</span> <span class="pre">=</span> <span class="pre">45000;</span></code></p> +</li> +</ul> </div> <div class="section" id="why-is-the-map-not-visible-in-the-mapbox-visualization"> <h2>Why is the map not visible in the mapbox visualization?<a class="headerlink" href="#why-is-the-map-not-visible-in-the-mapbox-visualization" title="Permalink to this headline">¶</a></h2> diff --git a/gallery.html b/gallery.html index 3ccdb87..f524228 100644 --- a/gallery.html +++ b/gallery.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Gallery — Superset's documentation documentation</title> + <title>Gallery — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="next" title="Druid" href="druid.html"/> <link rel="prev" title="Videos" href="videos.html"/> @@ -53,7 +53,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -103,7 +103,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> diff --git a/genindex.html b/genindex.html index 36af928..eff49c9 100644 --- a/genindex.html +++ b/genindex.html @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Index — Superset's documentation documentation</title> + <title>Index — Apache Superset documentation</title> @@ -34,7 +34,7 @@ <link rel="index" title="Index" href="#"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <script src="_static/js/modernizr.min.js"></script> @@ -52,7 +52,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -102,7 +102,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> diff --git a/index.html b/index.html index 8423d38..9221f76 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Superset’s documentation — Superset's documentation documentation</title> + <title>Apache Superset (incubating) — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="#"/> + <link rel="top" title="Apache Superset documentation" href="#"/> <link rel="next" title="Installation & Configuration" href="installation.html"/> @@ -52,7 +52,7 @@ - <a href="#" class="icon icon-home"> Superset's documentation + <a href="#" class="icon icon-home"> Apache Superset @@ -102,7 +102,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="#">Superset's documentation</a> + <a href="#">Apache Superset</a> </nav> @@ -119,7 +119,7 @@ <ul class="wy-breadcrumbs"> <li><a href="#">Docs</a> »</li> - <li>Superset’s documentation</li> + <li>Apache Superset (incubating)</li> <li class="wy-breadcrumbs-aside"> @@ -132,34 +132,46 @@ <div itemprop="articleBody"> <img alt="_images/s.png" src="_images/s.png" /> -<div class="section" id="superset-s-documentation"> -<h1>Superset’s documentation<a class="headerlink" href="#superset-s-documentation" title="Permalink to this headline">¶</a></h1> -<p>Superset is a data exploration platform designed to be visual, intuitive -and interactive.</p> +<div class="section" id="apache-superset-incubating"> +<h1>Apache Superset (incubating)<a class="headerlink" href="#apache-superset-incubating" title="Permalink to this headline">¶</a></h1> +<p>Apache Superset (incubating) is a modern, enterprise-ready business +intelligence web application</p> <hr class="docutils" /> <div class="admonition warning"> <p class="first admonition-title">Warning</p> <p class="last">This project was originally named Panoramix, was renamed to Caravel in March 2016, and is currently named Superset as of November 2016</p> </div> +<div class="admonition important"> +<p class="first admonition-title">Important</p> +<p class="last"><strong>Disclaimer</strong>: Apache Airflow is an effort undergoing incubation at The +Apache Software Foundation (ASF), sponsored by the Apache Incubator. +Incubation is required of all newly accepted projects until a further +review indicates that the infrastructure, communications, and +decision making process have stabilized in a manner consistent with +other successful ASF projects. While incubation status is not +necessarily a reflection of the completeness or stability of +the code, it does indicate that the project has yet to be fully +endorsed by the ASF.</p> +</div> <div class="section" id="overview"> <h2>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2> <div class="section" id="features"> <h3>Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h3> <ul class="simple"> -<li>A rich set of data visualizations, integrated from some of the best -visualization libraries</li> -<li>Create and share simple dashboards</li> -<li>An extensible, high-granularity security/permission model allowing -intricate rules on who can access individual features and the dataset</li> +<li>A rich set of data visualizations</li> +<li>An easy-to-use interface for exploring and visualizing data</li> +<li>Create and share dashboards</li> <li>Enterprise-ready authentication with integration with major authentication providers (database, OpenID, LDAP, OAuth & REMOTE_USER through Flask AppBuilder)</li> +<li>An extensible, high-granularity security/permission model allowing +intricate rules on who can access individual features and the dataset</li> <li>A simple semantic layer, allowing users to control how data sources are displayed in the UI by defining which fields should show up in which drop-down and which aggregation and function metrics are made available to the user</li> -<li>Integration with most RDBMS through SqlAlchemy</li> +<li>Integration with most SQL-speaking RDBMS through SQLAlchemy</li> <li>Deep integration with Druid.io</li> </ul> <hr class="docutils" /> diff --git a/installation.html b/installation.html index 5e3047d..2288c73 100644 --- a/installation.html +++ b/installation.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Installation & Configuration — Superset's documentation documentation</title> + <title>Installation & Configuration — Apache Superset documentation</title> @@ -33,9 +33,9 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="next" title="Tutorial for Superset Administrators" href="tutorial.html"/> - <link rel="prev" title="Superset’s documentation" href="index.html"/> + <link rel="prev" title="Apache Superset (incubating)" href="index.html"/> <script src="_static/js/modernizr.min.js"></script> @@ -53,7 +53,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -125,7 +125,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> @@ -546,10 +546,10 @@ results</li> <code class="docutils literal"><span class="pre">superset_config.py</span></code>. Both the worker and web server processes should have the same configuration.</p> <div class="highlight-python"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">CeleryConfig</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span> -<span class="n">BROKER_URL</span> <span class="o">=</span> <span class="s1">'redis://localhost:6379/0'</span> - <span class="n">CELERY_IMPORTS</span> <span class="o">=</span> <span class="p">(</span><span class="s1">'superset.sql_lab'</span><span class="p">,</span> <span class="p">)</span> - <span class="n">CELERY_RESULT_BACKEND</span> <span class="o">=</span> <span class="s1">'redis://localhost:6379/0'</span> - <span class="n">CELERY_ANNOTATIONS</span> <span class="o">=</span> <span class="p">{</span><span class="s1">'tasks.add'</span><span class="p">:</span> <span class="p">{</span><span class="s1">'rate_limit'</span><span class="p">:</span> <span class="s1">'10/s'</span><span class="p">}}</span> + <span class="n">BROKER_URL</span> <span class="o">=</span> <span class="s1">'redis://localhost:6379/0'</span> + <span class="n">CELERY_IMPORTS</span> <span class="o">=</span> <span class="p">(</span><span class="s1">'superset.sql_lab'</span><span class="p">,</span> <span class="p">)</span> + <span class="n">CELERY_RESULT_BACKEND</span> <span class="o">=</span> <span class="s1">'redis://localhost:6379/0'</span> + <span class="n">CELERY_ANNOTATIONS</span> <span class="o">=</span> <span class="p">{</span><span class="s1">'tasks.add'</span><span class="p">:</span> <span class="p">{</span><span class="s1">'rate_limit'</span><span class="p">:</span> <span class="s1">'10/s'</span><span class="p">}}</span> <span class="n">CELERY_CONFIG</span> <span class="o">=</span> <span class="n">CeleryConfig</span> </pre></div> @@ -561,13 +561,13 @@ Memcached, Redis, S3 (<a class="reference external" href="https://pypi.python.or memory or the file system (in a single server-type setup or for testing), or to write your own caching interface. Your <code class="docutils literal"><span class="pre">superset_config.py</span></code> may look something like:</p> -<div class="highlight-python"><div class="highlight"><pre><span></span> <span class="c1"># On S3</span> - <span class="kn">from</span> <span class="nn">s3cache.s3cache</span> <span class="kn">import</span> <span class="n">S3Cache</span> - <span class="n">S3_CACHE_BUCKET</span> <span class="o">=</span> <span class="s1">'foobar-superset'</span> - <span class="n">S3_CACHE_KEY_PREFIX</span> <span class="o">=</span> <span class="s1">'sql_lab_result'</span> - <span class="n">RESULTS_BACKEND</span> <span class="o">=</span> <span class="n">S3Cache</span><span class="p">(</span><span class="n">S3_CACHE_BUCKET</span><span class="p">,</span> <span class="n">S3_CACHE_KEY_PREFIX</span><span class="p">)</span> +<div class="highlight-python"><div class="highlight"><pre><span></span><span class="c1"># On S3</span> +<span class="kn">from</span> <span class="nn">s3cache.s3cache</span> <span class="kn">import</span> <span class="n">S3Cache</span> +<span class="n">S3_CACHE_BUCKET</span> <span class="o">=</span> <span class="s1">'foobar-superset'</span> +<span class="n">S3_CACHE_KEY_PREFIX</span> <span class="o">=</span> <span class="s1">'sql_lab_result'</span> +<span class="n">RESULTS_BACKEND</span> <span class="o">=</span> <span class="n">S3Cache</span><span class="p">(</span><span class="n">S3_CACHE_BUCKET</span><span class="p">,</span> <span class="n">S3_CACHE_KEY_PREFIX</span><span class="p">)</span> - <span class="c1"># On Redis</span> +<span class="c1"># On Redis</span> <span class="kn">from</span> <span class="nn">werkzeug.contrib.cache</span> <span class="kn">import</span> <span class="n">RedisCache</span> <span class="n">RESULTS_BACKEND</span> <span class="o">=</span> <span class="n">RedisCache</span><span class="p">(</span> <span class="n">host</span><span class="o">=</span><span class="s1">'localhost'</span><span class="p">,</span> <span class="n">port</span><span class="o">=</span><span class="mi">6379</span><span class="p">,</span> <span class="n">key_prefix</span><span class="o">=</span><span class="s1">'superset_results'</span><span class="p">)</span> @@ -633,7 +633,7 @@ same server.</p> <a href="tutorial.html" class="btn btn-neutral float-right" title="Tutorial for Superset Administrators" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a> - <a href="index.html" class="btn btn-neutral" title="Superset’s documentation" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a> + <a href="index.html" class="btn btn-neutral" title="Apache Superset (incubating)" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a> </div> diff --git a/objects.inv b/objects.inv index a0e6342..1638831 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/search.html b/search.html index 57269ac..e237e04 100644 --- a/search.html +++ b/search.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Search — Superset's documentation documentation</title> + <title>Search — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="#"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <script src="_static/js/modernizr.min.js"></script> @@ -51,7 +51,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -101,7 +101,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> diff --git a/searchindex.js b/searchindex.js index befed68..24f2b33 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({envversion:49,filenames:["druid","faq","gallery","index","installation","security","sqllab","tutorial","videos","visualization"],objects:{"superset.jinja_context":{PrestoTemplateProcessor:[6,0,1,""],url_param:[6,1,1,""]}},objnames:{"0":["py","class","Python class"],"1":["py","function","Python function"]},objtypes:{"0":"py:class","1":"py:function"},terms:{"1thisismyscretkei":4,"37k":7,"3aclose":1,"3aexampl":1,"\u00e1lava":9,"\u00e1vila":9,"a\u00eft":9,"abstract":1,"almer [...] \ No newline at end of file +Search.setIndex({envversion:49,filenames:["druid","faq","gallery","index","installation","security","sqllab","tutorial","videos","visualization"],objects:{"superset.jinja_context":{PrestoTemplateProcessor:[6,0,1,""],url_param:[6,1,1,""]}},objnames:{"0":["py","class","Python class"],"1":["py","function","Python function"]},objtypes:{"0":"py:class","1":"py:function"},terms:{"1thisismyscretkei":4,"37k":7,"3aclose":1,"3aexampl":1,"\u00e1lava":9,"\u00e1vila":9,"a\u00eft":9,"abstract":1,"almer [...] \ No newline at end of file diff --git a/security.html b/security.html index 792349d..11b98c6 100644 --- a/security.html +++ b/security.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Security — Superset's documentation documentation</title> + <title>Security — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="next" title="SQL Lab" href="sqllab.html"/> <link rel="prev" title="Tutorial for Superset Administrators" href="tutorial.html"/> @@ -53,7 +53,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -120,7 +120,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> diff --git a/sqllab.html b/sqllab.html index 60c7531..f894a25 100644 --- a/sqllab.html +++ b/sqllab.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>SQL Lab — Superset's documentation documentation</title> + <title>SQL Lab — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="next" title="Visualization Tools" href="visualization.html"/> <link rel="prev" title="Security" href="security.html"/> @@ -53,7 +53,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -111,7 +111,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> diff --git a/tutorial.html b/tutorial.html index 1d61d8d..32fc80e 100644 --- a/tutorial.html +++ b/tutorial.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Tutorial for Superset Administrators — Superset's documentation documentation</title> + <title>Tutorial for Superset Administrators — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="next" title="Security" href="security.html"/> <link rel="prev" title="Installation & Configuration" href="installation.html"/> @@ -53,7 +53,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -109,7 +109,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> diff --git a/videos.html b/videos.html index f2397e1..597bf37 100644 --- a/videos.html +++ b/videos.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Videos — Superset's documentation documentation</title> + <title>Videos — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="next" title="Gallery" href="gallery.html"/> <link rel="prev" title="Visualization Tools" href="visualization.html"/> @@ -53,7 +53,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -112,7 +112,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav> diff --git a/visualization.html b/visualization.html index 6947a23..47f49de 100644 --- a/visualization.html +++ b/visualization.html @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Visualization Tools — Superset's documentation documentation</title> + <title>Visualization Tools — Apache Superset documentation</title> @@ -33,7 +33,7 @@ <link rel="index" title="Index" href="genindex.html"/> <link rel="search" title="Search" href="search.html"/> - <link rel="top" title="Superset's documentation documentation" href="index.html"/> + <link rel="top" title="Apache Superset documentation" href="index.html"/> <link rel="next" title="Videos" href="videos.html"/> <link rel="prev" title="SQL Lab" href="sqllab.html"/> @@ -53,7 +53,7 @@ - <a href="index.html" class="icon icon-home"> Superset's documentation + <a href="index.html" class="icon icon-home"> Apache Superset @@ -108,7 +108,7 @@ <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="index.html">Superset's documentation</a> + <a href="index.html">Apache Superset</a> </nav>
