<?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: technical problem in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/technical-problem/m-p/290374#M214842</link>
    <description>&lt;P&gt;Something like this should work. It should just be a matter of using the correct string manipulation functions:&amp;nbsp;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/impala_string_functions.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/impala_string_functions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;create table test1 (col1 string);&lt;BR /&gt;&lt;BR /&gt;insert into table test1 values ("IT Strategy&amp;amp; Architecture BDC India [MITX 999]"), ("Corporate &amp;amp; IC Solution&lt;BR /&gt;Delivery [SVII]"), ("Operations Solution Delivery [SVIA]"), ("Mainframe Service [MLEM]"), ("Strategy &amp;amp; Architecture [MLEL]");&lt;BR /&gt;&lt;BR /&gt;select * from test1;&lt;BR /&gt;+------------------------------------------------+&lt;BR /&gt;| col1                                           |&lt;BR /&gt;+------------------------------------------------+&lt;BR /&gt;| IT Strategy&amp;amp; Architecture BDC India [MITX 999] |&lt;BR /&gt;| Corporate &amp;amp; IC Solution Delivery [SVII]        |&lt;BR /&gt;| Operations Solution Delivery [SVIA]            |&lt;BR /&gt;| Mainframe Service [MLEM]                       |&lt;BR /&gt;| Strategy &amp;amp; Architecture [MLEL]                 |&lt;BR /&gt;+------------------------------------------------+&lt;BR /&gt;&lt;BR /&gt;create table test2 as select trim(split_part(col1, ' [', 1)), trim(concat(' [', split_part(col1, ' [', 2))) fr&lt;BR /&gt;om test1;&lt;BR /&gt;&lt;BR /&gt;select * from test2;&lt;BR /&gt;+-------------------------------------+------------+&lt;BR /&gt;| _c0                                 | _c1        |&lt;BR /&gt;+-------------------------------------+------------+&lt;BR /&gt;| IT Strategy&amp;amp; Architecture BDC India | [MITX 999] |&lt;BR /&gt;| Corporate &amp;amp; IC Solution Delivery    | [SVII]     |&lt;BR /&gt;| Operations Solution Delivery        | [SVIA]     |&lt;BR /&gt;| Mainframe Service                   | [MLEM]     |&lt;BR /&gt;| Strategy &amp;amp; Architecture             | [MLEL]     |&lt;BR /&gt;+-------------------------------------+------------+&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 18:37:22 GMT</pubDate>
    <dc:creator>SahilTakiar</dc:creator>
    <dc:date>2020-02-24T18:37:22Z</dc:date>
    <item>
      <title>technical problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/technical-problem/m-p/290051#M214640</link>
      <description>&lt;P&gt;Hi Folks ,&lt;/P&gt;&lt;P&gt;I am facing one issue , i have tried all the methods but its not working can you please help on this .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;one column have data like below its there row wise (Original column)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IT Strategy&amp;amp; Architecture BDC India [MITX 999],Corporate &amp;amp; IC Solution Delivery [SVII],&lt;/P&gt;&lt;P&gt;Operations Solution Delivery [SVIA],&lt;/P&gt;&lt;P&gt;Mainframe Service [MLEM],Strategy &amp;amp; Architecture [MLEL]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the above 3 rows i need to split into two columns like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st column&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;IT Strategy&amp;amp; Architecture BDC India,Corporate &amp;amp; IC Solution Delivery,Operations Solution Delivery,Mainframe Service,Strategy &amp;amp; Architecture&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd columns&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[MITX 999],[SVII],[SVIA],[MLEM], [MLEL]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help , working new for impala data lake . Thank You ..!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 12:53:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/technical-problem/m-p/290051#M214640</guid>
      <dc:creator>pj1111</dc:creator>
      <dc:date>2020-02-19T12:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: technical problem</title>
      <link>https://community.cloudera.com/t5/Support-Questions/technical-problem/m-p/290374#M214842</link>
      <description>&lt;P&gt;Something like this should work. It should just be a matter of using the correct string manipulation functions:&amp;nbsp;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/impala_string_functions.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/impala_string_functions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;create table test1 (col1 string);&lt;BR /&gt;&lt;BR /&gt;insert into table test1 values ("IT Strategy&amp;amp; Architecture BDC India [MITX 999]"), ("Corporate &amp;amp; IC Solution&lt;BR /&gt;Delivery [SVII]"), ("Operations Solution Delivery [SVIA]"), ("Mainframe Service [MLEM]"), ("Strategy &amp;amp; Architecture [MLEL]");&lt;BR /&gt;&lt;BR /&gt;select * from test1;&lt;BR /&gt;+------------------------------------------------+&lt;BR /&gt;| col1                                           |&lt;BR /&gt;+------------------------------------------------+&lt;BR /&gt;| IT Strategy&amp;amp; Architecture BDC India [MITX 999] |&lt;BR /&gt;| Corporate &amp;amp; IC Solution Delivery [SVII]        |&lt;BR /&gt;| Operations Solution Delivery [SVIA]            |&lt;BR /&gt;| Mainframe Service [MLEM]                       |&lt;BR /&gt;| Strategy &amp;amp; Architecture [MLEL]                 |&lt;BR /&gt;+------------------------------------------------+&lt;BR /&gt;&lt;BR /&gt;create table test2 as select trim(split_part(col1, ' [', 1)), trim(concat(' [', split_part(col1, ' [', 2))) fr&lt;BR /&gt;om test1;&lt;BR /&gt;&lt;BR /&gt;select * from test2;&lt;BR /&gt;+-------------------------------------+------------+&lt;BR /&gt;| _c0                                 | _c1        |&lt;BR /&gt;+-------------------------------------+------------+&lt;BR /&gt;| IT Strategy&amp;amp; Architecture BDC India | [MITX 999] |&lt;BR /&gt;| Corporate &amp;amp; IC Solution Delivery    | [SVII]     |&lt;BR /&gt;| Operations Solution Delivery        | [SVIA]     |&lt;BR /&gt;| Mainframe Service                   | [MLEM]     |&lt;BR /&gt;| Strategy &amp;amp; Architecture             | [MLEL]     |&lt;BR /&gt;+-------------------------------------+------------+&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 18:37:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/technical-problem/m-p/290374#M214842</guid>
      <dc:creator>SahilTakiar</dc:creator>
      <dc:date>2020-02-24T18:37:22Z</dc:date>
    </item>
  </channel>
</rss>

