<?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>topic Thoughts on how to improve string search queries in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/thoughts-on-how-to-improve-string-search-queries/m-p/50299#M6075</link>
    <description>&lt;P&gt;Please see sample code I am running below. What options can I explore to improve speed of query execution in such a scenario? Current full code takes about 4 hrs to run on 1.5 billion rows. Thanks!&lt;BR /&gt;&lt;BR /&gt;SELECT&lt;BR /&gt;&amp;nbsp;fullVisitorId&lt;BR /&gt;&amp;nbsp;,VisitId&lt;BR /&gt;&amp;nbsp;,EventDate&lt;BR /&gt;&amp;nbsp;,PagePath&lt;BR /&gt;&amp;nbsp;,deviceCategory&amp;nbsp;&lt;BR /&gt;FROM ga360.ga_sessions a&lt;BR /&gt;WHERE&lt;BR /&gt;(&lt;BR /&gt;contains(lower(PagePath) , 'step-one')&lt;BR /&gt;OR contains(lower(PagePath) , 'step-two')&lt;BR /&gt;OR contains(lower(PagePath) , 'step-three')&lt;BR /&gt;)&lt;BR /&gt;AND not contains(utm_source,'ads')&lt;BR /&gt;AND hitstype = 'PAGE'&lt;BR /&gt;and a.EventDateKey &amp;gt;= 20200101&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 20:47:58 GMT</pubDate>
    <dc:creator>Bhanu1</dc:creator>
    <dc:date>2023-11-01T20:47:58Z</dc:date>
    <item>
      <title>Thoughts on how to improve string search queries</title>
      <link>https://community.databricks.com/t5/get-started-discussions/thoughts-on-how-to-improve-string-search-queries/m-p/50299#M6075</link>
      <description>&lt;P&gt;Please see sample code I am running below. What options can I explore to improve speed of query execution in such a scenario? Current full code takes about 4 hrs to run on 1.5 billion rows. Thanks!&lt;BR /&gt;&lt;BR /&gt;SELECT&lt;BR /&gt;&amp;nbsp;fullVisitorId&lt;BR /&gt;&amp;nbsp;,VisitId&lt;BR /&gt;&amp;nbsp;,EventDate&lt;BR /&gt;&amp;nbsp;,PagePath&lt;BR /&gt;&amp;nbsp;,deviceCategory&amp;nbsp;&lt;BR /&gt;FROM ga360.ga_sessions a&lt;BR /&gt;WHERE&lt;BR /&gt;(&lt;BR /&gt;contains(lower(PagePath) , 'step-one')&lt;BR /&gt;OR contains(lower(PagePath) , 'step-two')&lt;BR /&gt;OR contains(lower(PagePath) , 'step-three')&lt;BR /&gt;)&lt;BR /&gt;AND not contains(utm_source,'ads')&lt;BR /&gt;AND hitstype = 'PAGE'&lt;BR /&gt;and a.EventDateKey &amp;gt;= 20200101&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 20:47:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/thoughts-on-how-to-improve-string-search-queries/m-p/50299#M6075</guid>
      <dc:creator>Bhanu1</dc:creator>
      <dc:date>2023-11-01T20:47:58Z</dc:date>
    </item>
  </channel>
</rss>

