Skip to content

Commit

Permalink
[fix](tvf) fix that FE OOM when using tvf (#40981)
Browse files Browse the repository at this point in the history
This only affect old planner
  • Loading branch information
BePPPower authored Sep 20, 2024
1 parent ed2ec7b commit 17da096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public void init(Analyzer analyzer) throws UserException {
ConnectContext.get().getExecutor().getSummaryProfile().setInitScanNodeStartTime();
}
super.init(analyzer);
initFileSplitSize();
doInitialize();
if (ConnectContext.get().getExecutor() != null) {
ConnectContext.get().getExecutor().getSummaryProfile().setInitScanNodeFinishTime();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void init() throws UserException {
initFileSplitSize();
}

private void initFileSplitSize() {
protected void initFileSplitSize() {
this.fileSplitSize = ConnectContext.get().getSessionVariable().getFileSplitSize();
this.isSplitSizeSetBySession = this.fileSplitSize > 0;
if (this.fileSplitSize <= 0) {
Expand Down

0 comments on commit 17da096

Please sign in to comment.