Hello guys. I want to create a very big query but I am receiving this error:
"Query was cancelled because planning time exceeded 60 seconds"
Is there a way to change that threshold?
Thanks.
Hi,
You cannot change this threshold. We should look at why planning took this long. If youâre willing to share your job profile, that would be helpful. In the UI, choose âjobsâ in the upper-left (next to data sets tab). Then find the job that exceeded 60 seconds and select it; in the details pane, choose âdownload profile.â
If youâre hesitant to share your profile publicly, please share it with me via email.
thanks
Ron
What source did you connect to? What can you share about the number of tables/collections/indexes or number of partitions (in case of Hive) are you querying?
Sure, I can share it but you canât upload a .zip file in this forum⌠only images. So⌠https://ufile.io/krk84
Iâm conected to Postgresql (AWS)
Itâs lots of tables with joins.
Hi Bernardo, weâve created an internal ticket with the profile youâve attached. Weâll reach out once we have more information on the root cause.
Hi guys, could you please give me a suggestion about the similar problem?
Here is job profile
https://drive.google.com/open?id=0B_TI-qXS6sJVWnQ5LWo3dXlBY2c
Q#5 on TCPH gives me the same ERROR
[Prepare Statement] select supp_nation, cust_nation, l_year, sum(volume) as revenue from ( select n1.n_name as supp_nation, n2.n_name as cust_nation, extract(year from l_shipdate) as l_year, l_extendedprice * (1 - l_discount) as volume from supplier, lineitem, orders, customer, nation n1, nation n2 where s_suppkey = l_suppkey and o_orderkey = l_orderkey and c_custkey = o_custkey and s_nationkey = n1.n_nationkey and c_nationkey = n2.n_nationkey and ( (n1.n_name = âRUSSIAâ and n2.n_name = âEGYPTâ) or (n1.n_name = âEGYPTâ and n2.n_name = âRUSSIAâ) ) and l_shipdate between date â1995-01-01â and date â1996-12-31â ) as shipping group by supp_nation, cust_nation, l_year order by supp_nation, cust_nation, l_year
@shachar what version of Dremio are you on?
Hi, Iâm facing the same error when I tried to execute a SUM aggregation for a measure. The execution of SELECT * works with any problem
I attached the profile for the select sum(Amount) and the profil of the VDS original SQL.
Profil_VDS_sources_ok.zip (167,8 KB)
Profil_sum_error.zip (489,7 KB)
Thanks!
Can you please try this?
If < 3.0
Admin-Advanced Settings-Support Key-Enter âplanner.experimental.pclean_logicalâ, click show and disable-save and try the query again
if 3.0
Admin-Cluster-Support-Support Key-Enter âplanner.experimental.pclean_logicalâ, click show and disable-save and try the query again
Thanks
@balaji.ramaswamy
I checked this setting and Itâs disabled in the system. Anything else that you suggest me??
Thanks!
This parameter would be on by default. Did you change it?Can you please send me a screenshot?
We are now working with the new version of Dremio and goes Perfect!
Thanks!
We are getting the same issue with Dremio v11.0.0
Kindly send us the query profile?