Tech-By-Data
Monday, June 19, 2017
How do I download hive query results to a local machine?
If you are using HUE you can directly download the hive result as excel or CSV.
If you want to do it in command line then you use below commands
hive -e “sequence of commands” > output.csv
hive -f “filename.sql” > output.csv
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment