<?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 Re: Can we create Materialized view n exsting view and table? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-we-create-materialized-view-n-exsting-view-and-table/m-p/100730#M40396</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106294"&gt;@Alberto_Umana&lt;/a&gt;&amp;nbsp;. I will try that.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 09:41:02 GMT</pubDate>
    <dc:creator>sboxi</dc:creator>
    <dc:date>2024-12-03T09:41:02Z</dc:date>
    <item>
      <title>Can we create Materialized view n exsting view and table?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-create-materialized-view-n-exsting-view-and-table/m-p/100465#M40310</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;Is it possible to create Materialized view on view and table (Joining view and table)?&lt;/P&gt;&lt;P&gt;I suspect it is not possible. Please suggest.&lt;/P&gt;&lt;P&gt;Also please provide best way to schedule the refresh of Materialized view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 19:44:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-create-materialized-view-n-exsting-view-and-table/m-p/100465#M40310</guid>
      <dc:creator>sboxi</dc:creator>
      <dc:date>2024-11-29T19:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can we create Materialized view n exsting view and table?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-create-materialized-view-n-exsting-view-and-table/m-p/100468#M40311</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/130507"&gt;@sboxi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;Can you try with this, as it looks it is possible, also about scheduling, please refer to below documentation you can use SCHEDULE clause.&lt;/I&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;CREATE MATERIALIZED VIEW IF NOT EXISTS my_materialized_view AS&lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;SELECT &lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;t.column1, &lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;v.column2, &lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;AVG(t.column3) AS avg_column3&lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;FROM &lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;my_table t&lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;INNER JOIN &lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;my_view v &lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;ON &lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;t.id = v.id&lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;GROUP BY &lt;/I&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;I&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;t.column1, v.column2;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/ja/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view.html" target="_blank"&gt;https://docs.databricks.com/ja/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 20:38:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-create-materialized-view-n-exsting-view-and-table/m-p/100468#M40311</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2024-11-29T20:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can we create Materialized view n exsting view and table?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-create-materialized-view-n-exsting-view-and-table/m-p/100730#M40396</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106294"&gt;@Alberto_Umana&lt;/a&gt;&amp;nbsp;. I will try that.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 09:41:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-create-materialized-view-n-exsting-view-and-table/m-p/100730#M40396</guid>
      <dc:creator>sboxi</dc:creator>
      <dc:date>2024-12-03T09:41:02Z</dc:date>
    </item>
  </channel>
</rss>

