<?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: Create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3982670#M2471</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692718"&gt;@yongshao&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if your query was answered.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help .&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 06:09:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-10T06:09:09Z</dc:date>
    <item>
      <title>Create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3977200#M2444</link>
      <description>&lt;P&gt;Our ETL uses Fabric notebooks to extract/clean/transform big dataset into Fabric lakehouses&lt;/P&gt;&lt;P&gt;We want to create/update SQL Views with a lakehouse SQL endpoint. The&amp;nbsp; SQL views could be created manually via lakehouse SQL endpoint query console/panel. But we want to automate View creation/update by Fabric notebook&lt;/P&gt;&lt;P&gt;Spark.sql() could create temprary sql views but not persistent views with SQL endpoint&lt;/P&gt;&lt;P&gt;We try to use ODBC/PYDOBC to connect the SQL endpoint and issue the view creattion query, which seems not working either&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help - how to create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:39:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3977200#M2444</guid>
      <dc:creator>yongshao</dc:creator>
      <dc:date>2024-06-06T13:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3979098#M2457</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692718"&gt;@yongshao&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;&lt;BR /&gt;" Spark views won't show up in the SQL endpoint. It is the same behavior with Synapse Spark too. Views created in Synapse won't show up in Synapse serverless. "&lt;BR /&gt;&lt;BR /&gt;The only option left is to&amp;nbsp;&lt;SPAN&gt;create the views directly in the Lakehouse's SQL Analytics Endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Similar Threads -&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/Can-you-read-a-Fabric-lakehouse-view-from-spark/m-p/3584263" target="_blank"&gt;Re: Can you read a Fabric lakehouse view from spar... - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/Creating-views-from-spark-notebook-into-SQL-analytics-endpoint/m-p/3830182" target="_blank"&gt;Solved: Re: Creating views from spark notebook into SQL an... - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please do let me know incase of further queries.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 08:23:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3979098#M2457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-07T08:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3982670#M2471</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692718"&gt;@yongshao&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if your query was answered.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help .&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 06:09:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3982670#M2471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-10T06:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3985816#M2518</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692718"&gt;@yongshao&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven’t heard from you on the last response and was just checking back to see if your query was answered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise, will respond back with the more details and we will try to help .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 10:38:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3985816#M2518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-11T10:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3988926#M2540</link>
      <description>&lt;P&gt;Thanks for response&lt;/P&gt;&lt;P&gt;&amp;nbsp;with&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/Creating-views-from-spark-notebook-into-SQL-analytics-endpoint/m-p/3830182" target="_blank" rel="noopener"&gt;Solved: Re: Creating views from spark notebook into SQL an... - Microsoft Fabric Community&lt;/A&gt;, a pipeline with script to create a view does work&lt;/P&gt;&lt;P&gt;I wonder why pyodbc driver connection could only query the data but cannot create views from SQL endpoint&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import pyodbc&lt;/P&gt;&lt;P&gt;server = "?"&lt;/P&gt;&lt;P&gt;database = "?"&lt;/P&gt;&lt;P&gt;username = “?”&lt;/P&gt;&lt;P&gt;pwd = "?"&lt;/P&gt;&lt;P&gt;connection_string = f"Driver={{ODBC Driver 18 for SQL Server}};Server={server};Database={database};Authentication=ActiveDirectoryPassword;UID={username};PWD={pwd};ConnectRetryCount=4"&lt;/P&gt;&lt;P&gt;conn = pyodbc.connect(connection_string)&lt;/P&gt;&lt;P&gt;rows&amp;nbsp; = conn.execute("select top(10) * from dbo.building")&lt;/P&gt;&lt;P&gt;for row in rows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;print(row) # works fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#following doesn't work&lt;/P&gt;&lt;P&gt;conn.execute("create view dbo.testView as select top(10) * from dbo.building")&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 14:36:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/3988926#M2540</guid>
      <dc:creator>yongshao</dc:creator>
      <dc:date>2024-06-12T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/4010246#M2690</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692718"&gt;@yongshao&lt;/a&gt;&amp;nbsp;We automate our sql views creation using 'script activity' under Data pipelines.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chetna&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 03:16:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/4010246#M2690</guid>
      <dc:creator>chetnachaudhari</dc:creator>
      <dc:date>2024-06-26T03:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create SQL views with Fabric lakehouse SQL endpoint from Fabric notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/4852015#M12941</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/692718"&gt;@yongshao&lt;/a&gt;&amp;nbsp;have you found a decent solution for your problem?&lt;BR /&gt;&lt;BR /&gt;We are experiencing similar issues.&amp;nbsp;&lt;BR /&gt;We want to create views in the T-sql end point of the lakehouse as well, to expose data to downstream users.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the views created in this T-sql endpoint are not in source control, which makes them impossible to deploy to the next environment.&amp;nbsp;&lt;BR /&gt;What would be the solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another option might be to create views in a warehouse, using the lakehouse tables as reference objects, which leads to issues when deploying the warehouse, because the corresponding lakehouse object reference does not exist (yet).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, we don't find a suitable solution to have a view as the final layer exposed to end users, or to powerbi, which is decently source-controlled...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give us some advice anyone who has a working solution...&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 14:41:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-SQL-views-with-Fabric-lakehouse-SQL-endpoint-from-Fabric/m-p/4852015#M12941</guid>
      <dc:creator>doxxx</dc:creator>
      <dc:date>2025-10-16T14:41:17Z</dc:date>
    </item>
  </channel>
</rss>

