You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/24 18:19:00 UTC

[jira] [Commented] (DRILL-8004) Splunk Sends Newlines in INT Fields, Causing Exceptions

    [ https://issues.apache.org/jira/browse/DRILL-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419917#comment-17419917 ] 

ASF GitHub Bot commented on DRILL-8004:
---------------------------------------

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: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Splunk Sends Newlines in INT Fields, Causing Exceptions
> -------------------------------------------------------
>
>                 Key: DRILL-8004
>                 URL: https://issues.apache.org/jira/browse/DRILL-8004
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Other
>    Affects Versions: 1.19.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: 1.20.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)