hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Grover <grover.markgro...@gmail.com>
Subject Re: Need tab separated output file and put limit on number of lines in a output file
Date Wed, 20 Feb 2013 17:20:57 GMT
Chunky,
There may be another way to do this but to get tab separated output, I
usually create an external table that's tab separated and insert
overwrite into that table.

For limiting the number of records in the output, you can use the
limit clause in your query.

Mark

On Tue, Feb 19, 2013 at 10:53 PM, Chunky Gupta <chunky.gupta@vizury.com> wrote:
> Hi,
>
> Currently the output file columns of my query is separate by "^A", I need my
> output to be separated by tab. Can anybody help me in setting this ?
>
> I more doubt, I want to limit the number of lines in output files. For
> example, I do not want any of my output file to be more than 1000 lines, can
> I set this in configuration ?
>
> Thanks,
> Chunky.

Mime
View raw message