RE: Using HiveSQL with Python on Mac
You are viewing a single comment's thread:
Oh ... typo, sorry, I mean CSV ... to export the data in csv file :)
0
0
0.000
You are viewing a single comment's thread:
Oh ... typo, sorry, I mean CSV ... to export the data in csv file :)
One of the ways is to use csv module. I just added the following lines of code at the bottom of the script above, and the query results were saved as csv file on my desktop.
Great one!
Thanks a lot!