Skip to content
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

If the result of the query exceeds a certain value, the process is aborted. #19

Open
meiyifei opened this issue Jul 3, 2019 · 3 comments

Comments

@meiyifei
Copy link

meiyifei commented Jul 3, 2019

No description provided.

@meiyifei
Copy link
Author

meiyifei commented Jul 3, 2019

It depends on this value:max_result_bytes=14000000;

sprintf(url, "Driver={%s};url=http://%s:%s@%s:%d/query?database=%s&max_result_bytes=14000000&buffer_size=3000000;",driver,user,pass,host,port,dbname);

We need to modify clickhouse-client.cpp and then recompile clickhouse_fdw.

@ibrarahmad
Copy link
Contributor

ibrarahmad commented Jul 3, 2019 via email

@eclbg
Copy link

eclbg commented Jul 9, 2019

I have started using the FDW and I am seeing unexpected results from queries which I suspect are due to the parameter max_result_bytes. Is this parameter set in clickhouse? Or is it a postgres parameter?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants