hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4485) beeline prints null as empty strings
Date Tue, 26 Nov 2013 21:49:35 GMT

     [ 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)

Mime
View raw message