Skip to content

Commit

Permalink
[fix](tvf) fix that FE OOM when using tvf apache#40981 (apache#42119)
Browse files Browse the repository at this point in the history
cherry pick from apache#40981

Co-authored-by: Tiewei Fang <[email protected]>
  • Loading branch information
morningman and BePPPower authored Oct 19, 2024
1 parent bce89b6 commit 702184b
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 @@ -81,7 +81,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 702184b

Please sign in to comment.