fix(chalice): fixed session's clickmap (#3056)
This commit is contained in:
parent
99d6545720
commit
64e08916f9
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ def get_selectors_by_url_and_session_id(project_id, session_id, data: schemas.Ge
|
|||
query_from = f"{exp_ch_helper.get_main_events_table(0)} AS main_events"
|
||||
|
||||
with ch_client.ClickHouseClient() as cur:
|
||||
query = cur.format(query=f"""SELECT main_events.selector AS selector,
|
||||
query = cur.format(query=f"""SELECT CAST(`$properties`.selector AS String) AS selector,
|
||||
COUNT(1) AS count
|
||||
FROM {query_from}
|
||||
WHERE {" AND ".join(constraints)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue