hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sahil Takiar (JIRA)" <>
Subject [jira] [Updated] (HIVE-14169) Honor --incremental flag only if TableOutputFormat is used
Date Tue, 19 Jul 2016 21:48:20 GMT


Sahil Takiar updated HIVE-14169:
    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

Marking as duplicate of HIVE-14170 - since it doesn't make sense to commit HIVE-14170 without
the changes in this JIRA along with it.

> Honor --incremental flag only if TableOutputFormat is used
> ----------------------------------------------------------
>                 Key: HIVE-14169
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Beeline
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>         Attachments: HIVE-14169.1.patch
> * When Beeline prints out a {{ResultSet}} to stdout it uses the {{BeeLine.print}} method
> * This method takes the {{ResultSet}} from the completed query and uses a specified {{OutputFormat}}
to print the rows (by default it uses {{TableOutputFormat}})
> * The {{print}} method also wraps the {{ResultSet}} into a {{Rows}} class (either a {{IncrementalRows}}
or a {{BufferedRows}} class)
> The advantage of {{BufferedRows}} is that it can do a global calculation of the column
width, however, this is only useful for {{TableOutputFormat}}. So there is no need to buffer
all the rows if a different {{OutputFormat}} is used. This JIRA will change the behavior of
the {{--incremental}} flag so that it is only honored if {{TableOutputFormat}} is used.

This message was sent by Atlassian JIRA

View raw message