mirror of https://github.com/citusdata/citus.git
Fix an edge case
We sometimes relied on certain deparsing problems for complex data types on local-only queries by skipping the deparsing. Now, those local-only queries are not deferred unless we add thisremote_prepared_txes
parent
8613ae173c
commit
3f2f37daba
|
@ -365,7 +365,7 @@ ConvertRteToSubqueryWithEmptyResult(RangeTblEntry *rte)
|
|||
static bool
|
||||
ShouldLazyDeparseQuery(Task *task)
|
||||
{
|
||||
return task->deferredPruning;
|
||||
return task->deferredPruning || task->anchorShardId == INVALID_SHARD_ID;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue