Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8.0
-
None
-
None
Description
Drill currently uses an average field width (in addition to other parameters) for computing estimated memory cost for hash and sort based operations. The assumption is that the field is of ANY type. However, when a view with appropriate CAST is used, the relevant data type is available and we should leverage the correct field width for the costing calculations.