MCPcopy Create free account
hub / github.com/sql-machine-learning/sqlflow / Close

Method Close

go/executor/executor.go:152–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152func (cw *logChanWriter) Close() {
153 if len(cw.prev) > 0 {
154 cw.wr.Write(cw.prev)
155 cw.prev = ""
156 }
157}
158
159type pythonExecutor struct {
160 Writer *pipe.Writer

Callers 15

runCommandMethod · 0.95
submitPAITaskMethod · 0.95
TestLogChanWriter_WriteFunction · 0.45
runQueryFunction · 0.45
ExecuteExplainMethod · 0.45
ExecuteEvaluateMethod · 0.45
ExecuteOptimizeMethod · 0.45
readExplainResultFunction · 0.45
createTmpTableFromSelectFunction · 0.45
dropTmpTablesFunction · 0.45
createPAIHyperParamFileFunction · 0.45
ExecuteExplainMethod · 0.45

Calls 1

WriteMethod · 0.45

Tested by 2

TestLogChanWriter_WriteFunction · 0.36
TestNormalStmtFunction · 0.36