<?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: Why does Impala 2.0 regex .*? behavior differ from a typical implementation in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339611#M233134</link>
    <description>&lt;P&gt;That will be up to the documentation team. I alerted them to your concerns so they can look into it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 18:34:03 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2022-03-24T18:34:03Z</dc:date>
    <item>
      <title>Why does Impala 2.0 regex .*? behavior differ from a typical implementation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339542#M233101</link>
      <description>&lt;P data-unlink="true"&gt;From the docs&amp;nbsp;at&amp;nbsp;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/impala_string_functions.html#string_functions__regexp_extract&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;This example shows how a pattern string starting with .*? matches the shortest possible portion of the source string, returning the rightmost set of lowercase letters."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;select regexp_extract('AbcdBCdefGHI','.*?([[:lower:]]+)',1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returns &lt;STRONG&gt;def&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Every other Regex impl I've worked with would return &lt;STRONG&gt;bcd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't make sense of the docs either - "shortest possible string.. returns the rightmost.." - the shortest possible string in a "search from the left" operation returns the leftmost, not the rightmost&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 08:20:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339542#M233101</guid>
      <dc:creator>cjard</dc:creator>
      <dc:date>2022-03-24T08:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Impala 2.0 regex .*? behavior differ from a typical implementation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339545#M233104</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96821"&gt;@cjard&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this is a bug. Check this out:&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/IMPALA-2917" target="_blank"&gt;https://issues.apache.org/jira/browse/IMPALA-2917&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I agree that the documentation needs to be fixed as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 09:06:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339545#M233104</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-24T09:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Impala 2.0 regex .*? behavior differ from a typical implementation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339591#M233128</link>
      <description>&lt;P&gt;I've advised the documentation team of the confusing wording for you. Thank you for letting us know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 17:01:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339591#M233128</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2022-03-24T17:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Impala 2.0 regex .*? behavior differ from a typical implementation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339610#M233133</link>
      <description>&lt;P&gt;Thanks all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm curious - does it mean that the documentation will be heavily rewritten to detail how .*? implementation is atypical, or will the bug be fixed so the documentation can be tweaked to be correct?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 18:33:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339610#M233133</guid>
      <dc:creator>cjard</dc:creator>
      <dc:date>2022-03-24T18:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Impala 2.0 regex .*? behavior differ from a typical implementation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339611#M233134</link>
      <description>&lt;P&gt;That will be up to the documentation team. I alerted them to your concerns so they can look into it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 18:34:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339611#M233134</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2022-03-24T18:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Impala 2.0 regex .*? behavior differ from a typical implementation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339612#M233135</link>
      <description>&lt;P&gt;Fingers crossed it can push the reported bug up the review list a bit then! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks for the excellent help and attention..&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 18:35:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-Impala-2-0-regex-behavior-differ-from-a-typical/m-p/339612#M233135</guid>
      <dc:creator>cjard</dc:creator>
      <dc:date>2022-03-24T18:35:59Z</dc:date>
    </item>
  </channel>
</rss>

