mirror of https://github.com/citusdata/citus.git
Improve error message for recursive CTEs
parent
968ac74cde
commit
cfe55d6e2d
|
@ -1097,8 +1097,8 @@ RecursivelyPlanCTEs(Query *query, RecursivePlanningContext *planningContext)
|
||||||
if (query->hasRecursive)
|
if (query->hasRecursive)
|
||||||
{
|
{
|
||||||
return DeferredError(ERRCODE_FEATURE_NOT_SUPPORTED,
|
return DeferredError(ERRCODE_FEATURE_NOT_SUPPORTED,
|
||||||
"recursive CTEs are not supported in distributed "
|
"recursive CTEs are only supported when they "
|
||||||
"queries",
|
"contain a filter on the distribution column",
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue