<?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: how to load double quotes data of fields  in hive table? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189298#M68228</link>
    <description>&lt;P&gt;Does it support load gzipped csv file? I got `FAILED: SemanticException Unable to load data to destination table. Error: The file that you are trying to load does not match the file format of the destination table.`&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2018 13:39:04 GMT</pubDate>
    <dc:creator>zfanswer</dc:creator>
    <dc:date>2018-01-08T13:39:04Z</dc:date>
    <item>
      <title>how to load double quotes data of fields  in hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189295#M68225</link>
      <description>&lt;P&gt;am having csv file data like this as shown below&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;
  &lt;TD&gt;1,"Air Transport
  International, LLC",example,city&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;i have to load this data in hive like this as shown below&lt;/P&gt;&lt;P&gt;1,Air Transport InternationalLLC,example,city&lt;/P&gt;&lt;P&gt;but actually am getting  like below??&lt;/P&gt;&lt;P&gt;1,Air Transport International, LLC,example,city&lt;/P&gt;&lt;P&gt;how to solve this problem&lt;/P&gt;&lt;P&gt;please give me solution&lt;/P&gt;&lt;P&gt;thanks with regards,&lt;/P&gt;&lt;P&gt;swathi.T&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 18:31:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189295#M68225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-18T18:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to load double quotes data of fields  in hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189296#M68226</link>
      <description>&lt;P&gt;You can use the CSV SerDe: &lt;A href="https://cwiki.apache.org/confluence/display/Hive/CSV+Serde" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/CSV+Serde&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This has support for quoted cells.&lt;/P&gt;&lt;P&gt;Please refer to the general SerDe documentation if you have questions on how to use SerDe's:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/DeveloperGuide#DeveloperGuide-HiveSerDe" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/DeveloperGuide#DeveloperGuide-HiveSerDe&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 20:18:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189296#M68226</guid>
      <dc:creator>anarasimham</dc:creator>
      <dc:date>2017-09-18T20:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to load double quotes data of fields  in hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189297#M68227</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12747/swathidataengineer.html"&gt;swathi thukkaraju&lt;/A&gt;, &lt;BR /&gt;You can use the below serde properties to read your data correctly&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;CREATE TABLE test(a string, b string,..)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
WITH SERDEPROPERTIES (
   "separatorChar" = ",",
   "quoteChar"     = "\""
)  
STORED AS TEXTFILE 
location 'location of csv file';&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Sep 2017 21:12:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189297#M68227</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2017-09-18T21:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to load double quotes data of fields  in hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189298#M68228</link>
      <description>&lt;P&gt;Does it support load gzipped csv file? I got `FAILED: SemanticException Unable to load data to destination table. Error: The file that you are trying to load does not match the file format of the destination table.`&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 13:39:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/189298#M68228</guid>
      <dc:creator>zfanswer</dc:creator>
      <dc:date>2018-01-08T13:39:04Z</dc:date>
    </item>
  </channel>
</rss>

