This question already has an answer here:
- What exactly does .(data_type) method called/do? 2 answers
- What does “r.(flate.Reader)” mean in golang's zlib/reader.go file? 1 answer
- What is err.(*os.PathError) in Go? 2 answers
- What is this “err.(*exec.ExitError)” thing in Go code? 2 answers
- What is the meaning of “dot parenthesis” syntax in Golang? 1 answer
if logic, ok := p.(LogicalPlan); ok {
return doOptimize(builder.optFlag, logic)
}
LocalPlan is an excuse. What does the syntax p.(LogicalPlan) mean
</div>