godfrey he created FLINK-27591: ---------------------------------- Summary: Improve the plan for batch queries when statistics is unavailable Key: FLINK-27591 URL: https://issues.apache.org/jira/browse/FLINK-27591 Project: Flink Issue Type: New Feature Components: Table SQL / Planner Reporter: godfrey he
This jira is an umbrella issue, which aims to improve the plan for batch queries when statistics is unavailable. Currently, when statistics is unavailable, the planner will give default cost, which may lead to the planner choosing bad plan, such as: wrong broadcast join plan will cause a lot of network shuffle and OOM. We can detect whether the source tables have statistics. if not, join order, hash join can be disabled. -- This message was sent by Atlassian Jira (v8.20.7#820007)