Skip to content

Commit

Permalink
add load log (#21336)
Browse files Browse the repository at this point in the history
add load log

Approved by: @ouyuanning
  • Loading branch information
huby2358 authored Jan 26, 2025
1 parent d5b8a9f commit 21501bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/sql/compile/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,8 @@ func (c *Compile) compileExternScanParallelReadWrite(n *plan.Node, param *tree.E
fileOffsetTmp[j].Offset = append(fileOffsetTmp[j].Offset, fileOffset[j][2*preIndex:2*preIndex+2*count]...)
}
}
logutil.Infof("compileExternScanParallelReadWrite, len of cnList is %d, cn addr is %s, mcpu is %d, filepath is %s, file size is %d", len(c.cnList), c.cnList[i].Addr, scope.NodeInfo.Mcpu, param.ExParamConst.Filepath, param.ExParamConst.FileSize)
logutil.Infof("compileExternScanParallelReadWrite, %v\n", fileOffsetTmp)
op := constructExternal(n, param, c.proc.Ctx, fileList, fileSize, fileOffsetTmp, strictSqlMode)
op.SetAnalyzeControl(c.anal.curNodeIdx, currentFirstFlag)
scope.setRootOperator(op)
Expand Down

0 comments on commit 21501bd

Please sign in to comment.