<?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 without excluding double quotes? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384957#M245578</link>
    <description>&lt;P&gt;Hi S&lt;SPAN&gt;mruti,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply, I want the property in a way that ',' within double quotes should not split and the fields which are not having ',' inside double quotes should be splitted.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 15:53:22 GMT</pubDate>
    <dc:creator>yashwanth</dc:creator>
    <dc:date>2024-03-13T15:53:22Z</dc:date>
    <item>
      <title>how to load double quotes data of fields in hive table without excluding double quotes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384913#M245559</link>
      <description>&lt;P&gt;Can I know the working table property for splitting the records as shown below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Input field - 123,"456","INDIA","INDIA",789,"DELHI INDIA, PIN. North INDIA","101","NEW Delhi ","LOCATION"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expected hive output("|" indicates split) -&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;123 |&amp;nbsp; "456" |&amp;nbsp; "INDIA" |&amp;nbsp; "INDIA" |&amp;nbsp; 789 |&amp;nbsp; "DELHI INDIA, PIN. North INDIA" |&amp;nbsp; "101" |&amp;nbsp; "NEW Delhi " |&amp;nbsp; "LOCATION"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 17:57:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384913#M245559</guid>
      <dc:creator>yashwanth</dc:creator>
      <dc:date>2024-03-12T17:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to load double quotes data of fields in hive table without excluding double quotes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384917#M245560</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109588"&gt;@yashwanth&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Hive experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/63376"&gt;@abathla&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70785"&gt;@Shmoo&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 23:50:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384917#M245560</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-03-12T23:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to load double quotes data of fields in hive table without excluding double quotes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384926#M245567</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109588"&gt;@yashwanth&lt;/a&gt;&amp;nbsp;It seems like you want to separate columns based on the position of comma.&lt;/P&gt;&lt;P&gt;In that case, you may create the table as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CREATE TABLE my_table (
  col1 STRING,
  col2 INT,
  ...
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ',' ...&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Mar 2024 06:56:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384926#M245567</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-03-13T06:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to load double quotes data of fields in hive table without excluding double quotes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384957#M245578</link>
      <description>&lt;P&gt;Hi S&lt;SPAN&gt;mruti,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply, I want the property in a way that ',' within double quotes should not split and the fields which are not having ',' inside double quotes should be splitted.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 15:53:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384957#M245578</guid>
      <dc:creator>yashwanth</dc:creator>
      <dc:date>2024-03-13T15:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to load double quotes data of fields in hive table without excluding double quotes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384989#M245585</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CREATE external TABLE mytable (
    col1 INT,
    col2 STRING,
    col3 STRING,
    col4 STRING,
    col5 INT,
    col6 STRING,
    col7 STRING
    ...
)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
WITH SERDEPROPERTIES (
    "separatorChar" = ",",
    "quoteChar"     = "\""
)
STORED AS TEXTFILE;&lt;/LI-CODE&gt;&lt;P&gt;It should work.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 13:29:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/384989#M245585</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-03-14T13:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to load double quotes data of fields in hive table without excluding double quotes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/385151#M245633</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109588"&gt;@yashwanth&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 21:56:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-load-double-quotes-data-of-fields-in-hive-table/m-p/385151#M245633</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-03-18T21:56:20Z</dc:date>
    </item>
  </channel>
</rss>

