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
// should be insert statement, otherwise it couldn't step int resetCTEStorageMap in handleNoDelay func.
374
+
sql:="insert into t2 with cte1 as ( "+
375
+
"select c1 from t1) "+
376
+
"select c1 from cte1 natural join (select * from cte1 where c1 > 0) cte2 order by c1;"
377
+
err:=tk.ExecToErr(sql)
378
+
require.NotNil(t, err)
379
+
require.Equal(t, "[executor:8175]Your query has been cancelled due to exceeding the allowed memory limit for a single SQL query. Please try narrowing your query scope or increase the tidb_mem_quota_query limit and try again.[conn=%d]", err.Error())
0 commit comments