Looks like it is a mistake and should be used `min` instead of the first `max`:
```
outputPrecision = Math.min(outputPrecision, Math.max(leftPrecision, 
rightPrecision));
```
because the current code returns either 
`DRILL_REL_DATATYPE_SYSTEM.getMaxNumericPrecision()` or greater number.

[ Full content available at: https://github.com/apache/drill/pull/1451 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to