You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Nishant Bangarwa (JIRA)" <ji...@apache.org> on 2018/05/18 18:00:00 UTC

[jira] [Created] (HIVE-19604) Incorrect Handling of Boolean in DruidSerde

Nishant Bangarwa created HIVE-19604:
---------------------------------------

             Summary: Incorrect Handling of Boolean in DruidSerde
                 Key: HIVE-19604
                 URL: https://issues.apache.org/jira/browse/HIVE-19604
             Project: Hive
          Issue Type: Bug
          Components: Druid integration
            Reporter: Nishant Bangarwa
            Assignee: Nishant Bangarwa


Results of boolean expressions from Druid are expressed in the form of numeric 1 or 0. 
When reading the results in DruidSerde both 1 and 0 are translated to String and then we call Boolean.valueOf(stringForm), this leads to the boolean being read always as false.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)