<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Blank Lines at the beginning of output csv from Impala-shell in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46659#M44415</link>
    <description>&lt;P&gt;What version of Impala?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this happen with -q "show databases" instead of -f user.sql?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 16:07:46 GMT</pubDate>
    <dc:creator>jbapple</dc:creator>
    <dc:date>2016-10-25T16:07:46Z</dc:date>
    <item>
      <title>Blank Lines at the beginning of output csv from Impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46656#M44414</link>
      <description>&lt;P&gt;We have a user who is running impala-shell from the edge node of our hadoop cluster. The user is running a query sucessfully and having the output of the query going to a csv. When the user looks at the csv with vim or vi they have two two blank lines before the data from the query shows up. Has anybody else had this problem? The user is able to remove the two blank lines, but is annoyed by this process because it interrupts his workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody else have this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Impala-shell command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;impala-shell --ssl -V -i hare1.putnaminv.com:21000 -u cmorris -B -o test.csv --print_header --output_delimiter='|' -f user.sql&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of test.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;head header head&lt;/P&gt;&lt;P&gt;data&lt;/P&gt;&lt;P&gt;data&lt;/P&gt;&lt;P&gt;data&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:45:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46656#M44414</guid>
      <dc:creator>mjrice04</dc:creator>
      <dc:date>2022-09-16T10:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Lines at the beginning of output csv from Impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46659#M44415</link>
      <description>&lt;P&gt;What version of Impala?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this happen with -q "show databases" instead of -f user.sql?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 16:07:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46659#M44415</guid>
      <dc:creator>jbapple</dc:creator>
      <dc:date>2016-10-25T16:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Lines at the beginning of output csv from Impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46887#M44416</link>
      <description>Let me check with my user and see if it makes any difference. I will report back after the user tests&lt;BR /&gt;&lt;BR /&gt;We are running Impala 2.3 from CDH 5.5.4</description>
      <pubDate>Wed, 02 Nov 2016 13:05:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46887#M44416</guid>
      <dc:creator>mjrice04</dc:creator>
      <dc:date>2016-11-02T13:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Lines at the beginning of output csv from Impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46888#M44417</link>
      <description>Using -q as a flag for Impala shell seemed to make things much worse</description>
      <pubDate>Wed, 02 Nov 2016 13:11:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46888#M44417</guid>
      <dc:creator>mjrice04</dc:creator>
      <dc:date>2016-11-02T13:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Lines at the beginning of output csv from Impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46901#M44418</link>
      <description>In what way did it make things worse? When you tried -q, did you drop the "-f user.sql" part off of your command line? Did you add "show databases" right after -q?</description>
      <pubDate>Wed, 02 Nov 2016 15:53:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46901#M44418</guid>
      <dc:creator>jbapple</dc:creator>
      <dc:date>2016-11-02T15:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Lines at the beginning of output csv from Impala-shell</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46991#M44419</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;So I worked with Cloudera Support, the problem was our user had a comment before the first line of his query.&lt;BR /&gt;&lt;BR /&gt;Example&lt;BR /&gt;--comment is here&lt;BR /&gt;use database;</description>
      <pubDate>Thu, 03 Nov 2016 17:06:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Blank-Lines-at-the-beginning-of-output-csv-from-Impala-shell/m-p/46991#M44419</guid>
      <dc:creator>mjrice04</dc:creator>
      <dc:date>2016-11-03T17:06:09Z</dc:date>
    </item>
  </channel>
</rss>

