From commits-return-1381-archive-asf-public=cust-asf.ponee.io@superset.incubator.apache.org Sat Aug 25 06:54:22 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A0AF6180654 for ; Sat, 25 Aug 2018 06:54:21 +0200 (CEST) Received: (qmail 49269 invoked by uid 500); 25 Aug 2018 04:54:20 -0000 Mailing-List: contact commits-help@superset.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.incubator.apache.org Delivered-To: mailing list commits@superset.incubator.apache.org Received: (qmail 49260 invoked by uid 99); 25 Aug 2018 04:54:20 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Aug 2018 04:54:20 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 3A69482A16; Sat, 25 Aug 2018 04:54:20 +0000 (UTC) Date: Sat, 25 Aug 2018 04:54:20 +0000 To: "commits@superset.apache.org" Subject: [incubator-superset] branch master updated: Fix FAQ on filters (#5720) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153517286002.27745.11378298850866388600@gitbox.apache.org> From: maximebeauchemin@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-superset X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 54ae215d1127532e3b115408bb9de9241d346a10 X-Git-Newrev: cae070467bd71197e19568c0e0ab7a0a909f5507 X-Git-Rev: cae070467bd71197e19568c0e0ab7a0a909f5507 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. maximebeauchemin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/master by this push: new cae0704 Fix FAQ on filters (#5720) cae0704 is described below commit cae070467bd71197e19568c0e0ab7a0a909f5507 Author: Beto Dealmeida AuthorDate: Fri Aug 24 21:54:16 2018 -0700 Fix FAQ on filters (#5720) --- docs/faq.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/faq.rst b/docs/faq.rst index 21e4e74..63f4f72 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -114,8 +114,8 @@ never be affected by any dashboard level filtering. "filter_immune_slices": [324, 65, 92], "expanded_slices": {}, "filter_immune_slice_fields": { - "177": ["country_name", "__from", "__to"], - "32": ["__from", "__to"] + "177": ["country_name", "__time_range"], + "32": ["__time_range"] }, "timed_refresh_immune_slices": [324] } @@ -127,8 +127,8 @@ Now note the ``filter_immune_slice_fields`` key. This one allows you to be more specific and define for a specific slice_id, which filter fields should be disregarded. -Note the use of the ``__from`` and ``__to`` keywords, those are reserved -for dealing with the time boundary filtering mentioned above. +Note the use of the ``__time_range`` keyword, which is reserved for dealing +with the time boundary filtering mentioned above. But what happens with filtering when dealing with slices coming from different tables or databases? If the column name is shared, the filter will