You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/11/26 22:49:35 UTC

[jira] [Updated] (HIVE-4485) beeline prints null as empty strings

     [ https://issues.apache.org/jira/browse/HIVE-4485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated HIVE-4485:
--------------------------------

    Release Note: 
This introduces a backward incompatible change.
Earlier, null was getting printed as an empty string. There was no way to distinguish between an empty string an a null value. 
With this change null values will be printed as NULL. 
To get the old behavior you can set the property nullemptystring to values.
This can be done via commandline argument : beeline --nullemptystring=true
Or within the beeline shell
> !set nullemptystring true


> beeline prints null as empty strings
> ------------------------------------
>
>                 Key: HIVE-4485
>                 URL: https://issues.apache.org/jira/browse/HIVE-4485
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-4485.1.patch, HIVE-4485.2.patch
>
>
>  beeline is printing nulls as emtpy strings. 
> This is inconsistent with hive cli and other databases, they print null as "NULL" string.



--
This message was sent by Atlassian JIRA
(v6.1#6144)