From a0592f8d0b4c3d28a7136a14f33e651f64c327a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80=C3=AE=C3=97=C3=9A=C3=95=C3=B1?= Date: Thu, 18 Aug 2022 22:37:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=BA=8B=E4=BB=B6=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E6=BC=8F=E6=96=97=E6=A6=82=E7=8E=871?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_v1/endpoints/query.py b/api/api_v1/endpoints/query.py index 8d14cbd..65fafc4 100644 --- a/api/api_v1/endpoints/query.py +++ b/api/api_v1/endpoints/query.py @@ -1061,7 +1061,7 @@ async def funnel_model( date_range = res['date_range'] cond_level = res['cond_level'] groupby = res['groupby'] - switch_test = analysis.event_view.get('switchTest', 1) + switch_test = analysis.event_view.get('switchTest', True) if switch_test: df = await ckdb.query_dataframe(sql) if df.empty: