fix(chalice): fixed cards-table error (#2057)

This commit is contained in:
Kraiem Taha Yassine 2024-04-08 14:58:34 +02:00 committed by GitHub
parent 486a7115d7
commit 80a9c416da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -356,6 +356,7 @@ def search2_table(data: schemas.SessionsSearchPayloadSchema, project_id: int, de
density=density))
extra_event = None
extra_deduplication = []
extra_conditions = None
if metric_of == schemas.MetricOfTable.visited_url:
extra_event = f"""SELECT DISTINCT ev.session_id, ev.url_path
FROM {exp_ch_helper.get_main_events_table(data.startTimestamp)} AS ev