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
Thanks @onlyjackfrost report this.
I tried something similar with your case but I found it work well
SELECT COUNT("custkey") "customer_count"
FROM
"Customer"
WHERE (("totalprice" > 3000) AND (EXTRACT(MONTH FROM current_date) = '7'))
Which version of the ibis server are you using? I noticed that sqlglot recently fixed many issues related to ClickHouse date functions. Perhaps upgrading will resolve this issue for you.
The rewritten sql contains incorrect current_data function usage
The
current_date
in the last line should becurrent_data()
The text was updated successfully, but these errors were encountered: