jnturton opened a new pull request, #2597: URL: https://github.com/apache/drill/pull/2597
# [DRILL-7960](https://issues.apache.org/jira/browse/DRILL-7960): Column metadata DECIMAL precision can exceed max supported value. ## Description The calculation of the decimal precision needed to encompass two input decimal precisions and scales can produce precisions greater than the maximums supported by Drill. While this does not affect the output vector itself, it does cause an error if column metadata is built to be included with the result data, as is done for queries sent over the REST interface. Limit the calculated precision to the maximum supported value when this happens and log a precision loss warning. ## Documentation N/A ## Testing Manually run the repro query provided in the Jira. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org