<?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 get regexp query to work? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192841#M76411</link>
    <description>&lt;P&gt;Problem resolved when I freed out the memory, but appreciate your tip.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 10:17:55 GMT</pubDate>
    <dc:creator>cathyjliu</dc:creator>
    <dc:date>2018-03-27T10:17:55Z</dc:date>
    <item>
      <title>How to get regexp query to work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192835#M76405</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am following &lt;A href="https://hortonworks.com/tutorial/how-to-process-data-with-apache-hive/" target="_blank"&gt;https://hortonworks.com/tutorial/how-to-process-data-with-apache-hive/&lt;/A&gt; using Hive View 2.0.  I copied the exact query, running on Virtual Box (see the query commend below); however, the query keeps hanging.  Anyone else has the same issue?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;insert overwrite table drivers
SELECT
  regexp_extract(col_value,'^(?:([^,]*),?){1}',1) driverId,
  regexp_extract(col_value,'^(?:([^,]*),?){2}',1) name,
  regexp_extract(col_value,'^(?:([^,]*),?){3}',1) ssn,
  regexp_extract(col_value,'^(?:([^,]*),?){4}',1) location,
  regexp_extract(col_value,'^(?:([^,]*),?){5}',1) certified,
  regexp_extract(col_value,'^(?:([^,]*),?){6}',1) wageplan

from temp_drivers;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Mar 2018 06:03:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192835#M76405</guid>
      <dc:creator>cathyjliu</dc:creator>
      <dc:date>2018-03-26T06:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get regexp query to work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192836#M76406</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17892/cathyjliu.html" nodeid="17892"&gt;@Cathy Liu&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you have enough free memory on your sandbox/Virtual Box?&lt;/P&gt;&lt;PRE&gt;# free -m&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If not then you might want to stop some of the services that you are not currently using like Zeppelin, Oozie, HBase and then see if it works without hanging.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17892/cathyjliu.html" nodeid="17892"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 06:19:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192836#M76406</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-26T06:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get regexp query to work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192837#M76407</link>
      <description>&lt;P&gt;Thank you so much, Jay!  That is the exactly the issue.  &lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 07:08:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192837#M76407</guid>
      <dc:creator>cathyjliu</dc:creator>
      <dc:date>2018-03-26T07:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get regexp query to work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192838#M76408</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17892/cathyjliu.html" nodeid="17892"&gt;@Cathy Liu&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If this resolved your query then please mark this HCC thread as answered by clicking on "Accept" link on the correct answer, That way it will help other HCC users to quickly find the answers.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17892/cathyjliu.html" nodeid="17892"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 07:42:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192838#M76408</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-26T07:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get regexp query to work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192839#M76409</link>
      <description>&lt;P&gt;Thanks for the tip.  New to the community and that "Accept" link is pretty small and hidden.  &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 10:07:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192839#M76409</guid>
      <dc:creator>cathyjliu</dc:creator>
      <dc:date>2018-03-26T10:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get regexp query to work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192840#M76410</link>
      <description>&lt;P&gt;@Cathy Liu&lt;/P&gt;&lt;P&gt;If you continue to encounter issues with long running Hive queries please take a look at &lt;A href="https://hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox/#appendix-b-troubleshoot"&gt;"Appendix B: Troubleshoot"&lt;/A&gt; of “Learning the Ropes of the HDP Sandbox”.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 02:41:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192840#M76410</guid>
      <dc:creator>acastro</dc:creator>
      <dc:date>2018-03-27T02:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get regexp query to work?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192841#M76411</link>
      <description>&lt;P&gt;Problem resolved when I freed out the memory, but appreciate your tip.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 10:17:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-regexp-query-to-work/m-p/192841#M76411</guid>
      <dc:creator>cathyjliu</dc:creator>
      <dc:date>2018-03-27T10:17:55Z</dc:date>
    </item>
  </channel>
</rss>

