[ https://issues.apache.org/jira/browse/SPARK-22515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-22515. ----------------------------- Resolution: Fixed Assignee: Zhenhua Wang Fix Version/s: 2.3.0 > Estimation relation size based on numRows * rowSize > --------------------------------------------------- > > Key: SPARK-22515 > URL: https://issues.apache.org/jira/browse/SPARK-22515 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 2.3.0 > Reporter: Zhenhua Wang > Assignee: Zhenhua Wang > Fix For: 2.3.0 > > > Currently, relation size is computed as the sum of file size, which is > error-prone because storage format like parquet may have a much smaller file > size compared to in-memory size. When we choose broadcast join based on file > size, there's a risk of OOM. But if the number of rows is available in > statistics, we can get a better estimation by `numRows * rowSize`, which > helps to alleviate this problem. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org