cgivre opened a new pull request #2322:
URL: https://github.com/apache/drill/pull/2322


   # [DRILL-8004](https://issues.apache.org/jira/browse/DRILL-8004): 
DRILL-8004: Splunk Sends Newlines in INT Fields, Causing Exceptions
   
   ## Description
   Splunk occasionally sends extra white space in `INT` fields.  This was 
discovered by a user, and when Drill tries to parse the response, it causes 
`NumberFormatExceptions`.  This PR removes white space in known `INT` fields.  
If an exception is thrown, it replaces the value with `-1`.   
   
   Note that all the known `INT` fields are fields derived from time stamps, so 
in theory they should never be negative.
   
   ## Documentation
   N/A
   
   ## Testing
   Manually tested.


-- 
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]


Reply via email to