[fix](pipeline) disable sharing hashtable for broadcast join for pipeline engine (#15432)

This commit is contained in:
Jerry Hu
2022-12-29 14:19:57 +08:00
committed by GitHub
parent 2ae28ea9dd
commit 657f3e6318

View File

@ -1326,7 +1326,10 @@ public class SessionVariable implements Serializable, Writable {
tResult.setEnablePipelineEngine(enablePipelineEngine);
tResult.setReturnObjectDataAsBinary(returnObjectDataAsBinary);
tResult.setTrimTailingSpacesForExternalTableQuery(trimTailingSpacesForExternalTableQuery);
tResult.setEnableShareHashTableForBroadcastJoin(enableShareHashTableForBroadcastJoin);
// TODO: enable share hashtable for broadcast after switching completely to pipeline engine.
tResult.setEnableShareHashTableForBroadcastJoin(
enablePipelineEngine ? false : enableShareHashTableForBroadcastJoin);
tResult.setBatchSize(batchSize);
tResult.setDisableStreamPreaggregations(disableStreamPreaggregations);