Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Review Request 15864: HIVE-4485 - beeline prints null as empty strings


Copy link to this message
-
Review Request 15864: HIVE-4485 - beeline prints null as empty strings
Thejas Nair 2013-11-26, 22:10

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15864/
-----------------------------------------------------------

Review request for hive.
Bugs: HIVE-4485
    https://issues.apache.org/jira/browse/HIVE-4485
Repository: hive-git
Description
-------

beeline is printing nulls as emtpy strings. There was no way to distinguish between an empty string an a null value.
This is inconsistent with hive cli and other databases, they print null as "NULL" string.
Diffs
-----

  beeline/src/java/org/apache/hive/beeline/BeeLine.java bc2f4d8
  beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java 0884b16
  beeline/src/java/org/apache/hive/beeline/BufferedRows.java fc8e62b
  beeline/src/java/org/apache/hive/beeline/Rows.java a66e709
  beeline/src/main/resources/BeeLine.properties 9947007
  beeline/src/test/org/apache/hive/beeline/src/test/TestBeeLineWithArgs.java e3c6a72

Diff: https://reviews.apache.org/r/15864/diff/
Testing
-------

unit tests included. Also tested manually.
Thanks,

Thejas Nair