You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT date_format(covid.jour, '%%Y-%%m-%%d 00:00') AS "Group by Jour",
avg(covid.tx_prev_hosp) AS "Avg of Tx Prev Hosp"
FROM covid AS covid
GROUP BY date_format(covid.jour, '%%Y-%%m-%%d 00:00')
LIMIT 500
When i try use date column with postgres db, it fail on date format
(psycopg2.errors.UndefinedFunction) function date_format(date, unknown) does not exist
when i check the code, the 'date_format' function is hard coded
insights/insights/doctype/insights_query/insights_assisted_query.py
The text was updated successfully, but these errors were encountered: