You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Tmin10 <gi...@git.apache.org> on 2018/08/24 11:27:32 UTC

[GitHub] hive pull request #421: HIVE-20447 Add JSON Outputformat support

GitHub user Tmin10 opened a pull request:

    https://github.com/apache/hive/pull/421

    HIVE-20447 Add JSON Outputformat support

    Based on https://github.com/julianhyde/sqlline/pull/84
    Issue: https://issues.apache.org/jira/browse/HIVE-20447
    
    1. JSON output format implementation including special symbols escaping based on [1] and [2];
    2. Test for new output format;
    3. Little refactoring in AbstractOutputFormat, XMLAttributeOutputFormat and XMLElementOutputFormat.
    
    I also send request to take edit rights on Hive wiki to change documentation about beeline output formats.
    
    [1] http://json.org
    [2] https://docs.microsoft.com/en-us/sql/relational-databases/json/how-for-json-escapes-special-characters-and-control-characters-sql-server?view=sql-server-2017

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Tmin10/hive json-output

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/421.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #421
    
----
commit c37acb7bdab47e2c5d2dc73a04c0e13e6b2f8902
Author: Tmin10 <tm...@...>
Date:   2018-08-23T13:07:19Z

    HIVE-20447 Add JSON Outputformat support

----


---