Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
plan: support topn push down in plan phase. #1769
Please take a look at function handleLeftJoin/handleRightJoin in physical_plan_builder.go, the local variable allLeft/allRight been checked if false three times, but if allLeft/allRight is false, the function will be returned just in the first check, and there is no value write of allLeft/allRight after this check.