vvysotskyi opened a new pull request #2193: URL: https://github.com/apache/drill/pull/2193
# [DRILL-7887](https://issues.apache.org/jira/browse/DRILL-7887): JDBC plugin returns incorrect precision for SUM(DECIMAL) queries ## Description Made changes to return DRILL_REL_DATATYPE_SYSTEM.getMaxNumericScale() and DRILL_REL_DATATYPE_SYSTEM.getMaxNumericPrecision() for the case when JDBC calculated presision is greater to avoid errors in Drill. Also, added a check for actual value scale and precision to avoid returning incorrect values. ## Documentation NA ## Testing Added unit test to check the desired behavior. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
