leesf opened a new pull request, #4417:
URL: https://github.com/apache/hive/pull/4417

   ### What changes were proposed in this pull request?
   Now, TypeInfoUtils#parseType only support Decimal(precision,scale) instead 
of Decimal(precision, scale), for example, support decimal(10,2) instead of 
decimal(10, 2) with a blank before 2, however, users may create decimal in this 
format decimal(10, 2) and it will throw exception in 
   
   ```
   
   Integer.parseInt(params[1]);
   
   ```
   
   we need fix this issue.
   
   
   ### Why are the changes needed?
   Fix the Decimal(precision, scale) parsing error.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Added UT
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to