Member since
11-23-2022
1
Post
0
Kudos Received
0
Solutions
12-18-2022
02:23 AM
Hi, Where you are redirecting the output to? for csv file? What is the output from impala-shell terminal if you do not redirect the output? It looks like caused by the csv module when impala is using it to export the data. # csv.writer expects a file handle to the input. # cStringIO is used as the temporary buffer. temp_buffer = StringIO() writer = csv.writer(temp_buffer, delimiter=self.field_delim, lineterminator='\n', quoting=csv.QUOTE_MINIMAL) writer.writerows(rows) Seems to be we cannot change this since it is needs to modified at code level. https://github.com/apache/impala/blob/014c455aaaa38010ae706228f7b439c080c0bc7d/shell/shell_output.py... Regards, Chethan YM
... View more