-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
max_bytes_before_external_group_by not working with DBT #351
Comments
Can you check the ClickHouse query log ( |
There's also a major difference between a DBT "incremental" model and a simple ClickHouse SELECT. |
This is the query that I got from the log. It is not applying the query settings. Am I doing anything incorrect when defining the query settings?
|
This is kind of full refresh. I have cleaned the logic for incremental model to test if the simple query works. Thanks for your quick reply. |
Thanks for the detailed log data! That looks like a bug in "full refresh", where an "intermediate" table is created and then swapped, but that intermediate table doesn't appear to have the query_settings applied. We'll see if we can pin down the actual problem over the next few days. |
Describe the bug
I am running a dbt model with max_bytes_before_external_group_by settings. Still, I am getting Memory Error. If the run the same query on ClickHouse cloud it works perfectly fine
DBT model definition
Expected behaviour
It should not give error
Configuration
Environment
ClickHouse server
CREATE TABLE
statements for tables involved:The text was updated successfully, but these errors were encountered: