Member since
03-25-2017
11
Posts
2
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
12363 | 03-26-2017 03:36 PM |
01-05-2018
01:51 PM
How would you do this in reverse: given a unixtime value of 13949501310621, how would you convert to : 2014-03-16 00:08:51.621 ?
... View more
03-31-2017
09:17 AM
Thanks pushyami, for the bit about adding a header
... View more
03-26-2017
03:36 PM
1 Kudo
Found the answer ... add " --print_header " option to command string
... View more
03-26-2017
12:46 PM
When I use this command, it produces a nice pipe-delimited file - which is what I want. However, there is no header row. What syntax must I include to ensure that the output csv file has a header row? impala-shell -i <servername:portname> -B -q 'SELECT from_unixtime(field00) as 'in_date', field01, field02 FROM <table> LIMIT 100;' -o query_out.csv '--output_delimiter=\174'
... View more
Labels:
- Labels:
-
Apache Impala
03-25-2017
09:50 AM
This command produces an output file but there is no header. How can I produce an output csv file with a header?
... View more