hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kramer (JIRA)" <>
Subject [jira] [Resolved] (HIVE-602) INSERT LOCAL PIPE '/path/to/program' would be lovely
Date Tue, 26 Jul 2011 23:33:11 GMT


Adam Kramer resolved HIVE-602.

    Resolution: Won't Fix

Workaround sufficient.

> INSERT LOCAL PIPE '/path/to/program' would be lovely
> ----------------------------------------------------
>                 Key: HIVE-602
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor, Server Infrastructure
>            Reporter: Adam Kramer
> INSERT OVERWRITE LOCAL DIRECTORY is great at what it does, but the output is never _instantly_
useful. Why? Because it is a whole bunch of gzipped files.
> It would be lovely if I could tell Hive what it should do with its output when inserting
into a local directory. For example, to automatically pipe its output through something. Really,
I want to
> gunzip -c *.gz | perl -p -e 's/\cA/\t/g' > filename
> ...but I would settle for piping every reducer's output through gunzip -c | perl -p -e
's/\cA/\t/g' and then having Hive save the result to whatever it would have used for a filename
but without the .gz.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message