Github user weijietong commented on the issue: https://github.com/apache/drill/pull/889 @amansinha100 I have removed the override of `getMaxRowCount` method of `TableScan` type to avoid your worry about unexpected results . This PR's target adjusts to just enhance the current cartesian join by leveraging Calcite's `RelMdMaxRowCount` method. I will solve our case specially at our env.
---