<?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: Pyspark notebook : Lakehouse Sql end point in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835343#M12512</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="182888" data-lia-user-login="msprog" class="lia-mention lia-mention-user"&gt;msprog&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Yes—use a Fabric notebook attached to the Lakehouse. You don’t need (and can’t directly “bind”) the Lakehouse &lt;STRONG&gt;SQL endpoint&lt;/STRONG&gt; from PySpark; instead you query the same Delta tables via Spark.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Two simple ways:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Spark tables (recommended)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In the notebook, attach the Lakehouse (left pane → “Add lakehouse”).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then query its tables:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;# read a table registered in the Lakehouse&lt;/SPAN&gt; df = spark.read.table(&lt;SPAN class=""&gt;"lakehouse.default.MyTable"&lt;/SPAN&gt;) &lt;SPAN class=""&gt;# or "lakehouse.&amp;lt;schema&amp;gt;.MyTable"&lt;/SPAN&gt; df.display() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;# Spark SQL&lt;/SPAN&gt; result = spark.sql(&lt;SPAN class=""&gt;"SELECT col1, col2 FROM lakehouse.default.MyTable WHERE col3 &amp;gt; 0"&lt;/SPAN&gt;) result.display() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Delta path (Files/Delta)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;# direct Delta path under /Tables&lt;/SPAN&gt; df = spark.read.&lt;SPAN class=""&gt;format&lt;/SPAN&gt;(&lt;SPAN class=""&gt;"delta"&lt;/SPAN&gt;).load(&lt;SPAN class=""&gt;"Tables/MyTable"&lt;/SPAN&gt;) df.display() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Notes&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;%%sql in Fabric notebooks runs &lt;STRONG&gt;Spark SQL&lt;/STRONG&gt;, not T-SQL. The Lakehouse &lt;EM&gt;SQL analytics endpoint&lt;/EM&gt; is for T-SQL tools (SQL editor, SSMS, Fabric items using T-SQL).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For programmatic T-SQL against a Warehouse/SQL endpoint you’d use JDBC/ODBC from outside; inside Fabric notebooks, stick to Spark/Spark SQL for Lakehouse data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Hope it can help you !&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;best regards,&lt;/DIV&gt;&lt;DIV class=""&gt;Antoine&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Sep 2025 12:03:25 GMT</pubDate>
    <dc:creator>AntoineW</dc:creator>
    <dc:date>2025-09-25T12:03:25Z</dc:date>
    <item>
      <title>Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835312#M12509</link>
      <description>&lt;P&gt;Can a pyspark notebook in Fabric connecting to&amp;nbsp; the Lakehouse Sql endpoint?&lt;/P&gt;&lt;P&gt;Please let me know&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 11:22:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835312#M12509</guid>
      <dc:creator>msprog</dc:creator>
      <dc:date>2025-09-25T11:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835325#M12510</link>
      <description>&lt;P&gt;No , you cant.&lt;/P&gt;&lt;P&gt;Lakehouse data is natively accessible from PySpark notebooks — without going through the SQL endpoint.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 11:38:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835325#M12510</guid>
      <dc:creator>NaveenUpadhye</dc:creator>
      <dc:date>2025-09-25T11:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835343#M12512</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="182888" data-lia-user-login="msprog" class="lia-mention lia-mention-user"&gt;msprog&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Yes—use a Fabric notebook attached to the Lakehouse. You don’t need (and can’t directly “bind”) the Lakehouse &lt;STRONG&gt;SQL endpoint&lt;/STRONG&gt; from PySpark; instead you query the same Delta tables via Spark.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Two simple ways:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Spark tables (recommended)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In the notebook, attach the Lakehouse (left pane → “Add lakehouse”).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then query its tables:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;# read a table registered in the Lakehouse&lt;/SPAN&gt; df = spark.read.table(&lt;SPAN class=""&gt;"lakehouse.default.MyTable"&lt;/SPAN&gt;) &lt;SPAN class=""&gt;# or "lakehouse.&amp;lt;schema&amp;gt;.MyTable"&lt;/SPAN&gt; df.display() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;# Spark SQL&lt;/SPAN&gt; result = spark.sql(&lt;SPAN class=""&gt;"SELECT col1, col2 FROM lakehouse.default.MyTable WHERE col3 &amp;gt; 0"&lt;/SPAN&gt;) result.display() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Delta path (Files/Delta)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;# direct Delta path under /Tables&lt;/SPAN&gt; df = spark.read.&lt;SPAN class=""&gt;format&lt;/SPAN&gt;(&lt;SPAN class=""&gt;"delta"&lt;/SPAN&gt;).load(&lt;SPAN class=""&gt;"Tables/MyTable"&lt;/SPAN&gt;) df.display() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Notes&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;%%sql in Fabric notebooks runs &lt;STRONG&gt;Spark SQL&lt;/STRONG&gt;, not T-SQL. The Lakehouse &lt;EM&gt;SQL analytics endpoint&lt;/EM&gt; is for T-SQL tools (SQL editor, SSMS, Fabric items using T-SQL).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For programmatic T-SQL against a Warehouse/SQL endpoint you’d use JDBC/ODBC from outside; inside Fabric notebooks, stick to Spark/Spark SQL for Lakehouse data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Hope it can help you !&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;best regards,&lt;/DIV&gt;&lt;DIV class=""&gt;Antoine&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Sep 2025 12:03:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835343#M12512</guid>
      <dc:creator>AntoineW</dc:creator>
      <dc:date>2025-09-25T12:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835424#M12514</link>
      <description>&lt;P&gt;thanks for this. but i want to invoke a view that is defined - i can see the view when i am on the sql endpoint. Hence i was hoping if the notebook can see the endpoint, i would be able to fire a query using the view.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 12:42:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835424#M12514</guid>
      <dc:creator>msprog</dc:creator>
      <dc:date>2025-09-25T12:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835461#M12516</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="182888" data-lia-user-login="msprog" class="lia-mention lia-mention-user"&gt;msprog&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A Fabric PySpark notebook can’t “see” T-SQL views that live in a Lakehouse’s SQL analytics endpoint via the Spark catalog. Those views are objects of the SQL endpoint (TDS/T-SQL world), not Spark. But you &lt;EM&gt;can&lt;/EM&gt; query them from a notebook by connecting to the SQL endpoint (via JDBC/TDS or the built-in Fabric Spark TDS reader). Alternatively, re-create the logic as a Spark view/table if you want native Spark access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query the view from a notebook&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Get your &lt;STRONG&gt;Workspace ID&lt;/STRONG&gt; and the &lt;STRONG&gt;SQL endpoint name&lt;/STRONG&gt; (Lakehouse’s SQL endpoint).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the notebook, use the Fabric Spark TDS reader (Scala cell) to run a T-SQL query and bring the result back as a Spark DataFrame.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// Scala cell
import com.microsoft.spark.fabric.tds.implicits.read.FabricSparkTDSImplicits._
import com.microsoft.spark.fabric.Constants

val wsId = "&amp;lt;your-workspace-guid&amp;gt;"
val lakehouseSqlEndpointName = "&amp;lt;your-lakehouse-sql-endpoint-name&amp;gt;"

// Query the view
val df = spark.read
  .option(Constants.WorkspaceId, wsId)
  .option(Constants.DatabaseName, lakehouseSqlEndpointName)
  .synapsesql("select * from dbo.YourViewName");

display(df)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;This uses the built-in Fabric Spark TDS integration outlined in community write-ups like this walkthrough:&amp;nbsp; &lt;A href="https://www.red-gate.com/simple-talk/blogs/fabric-query-a-sql-endpoint-from-a-notebook/" target="_blank" rel="noopener"&gt;https://www.red-gate.com/simple-talk/blogs/fabric-query-a-sql-endpoint-from-a-notebook/&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If your query is complex and you hit parser quirks, the same article shows a prepareQuery pattern to send part of the query “as-is”.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 13:20:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835461#M12516</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-25T13:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835925#M12526</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="182888" data-lia-user-login="msprog" class="lia-mention lia-mention-user"&gt;msprog&lt;/a&gt;&amp;nbsp; &amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;Thanks for reaching out to the Microsoft fabric community forum.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would also take a moment to thank &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1340679" data-lia-user-login="tayloramy" class="lia-mention lia-mention-user"&gt;tayloramy&lt;/a&gt;&amp;nbsp;, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&amp;nbsp;&lt;BR /&gt;Community Support Team.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 04:16:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4835925#M12526</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2025-09-26T04:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4838676#M12607</link>
      <description>&lt;P&gt;Hello&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="182888" data-lia-user-login="msprog" class="lia-mention lia-mention-user"&gt;msprog&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am also part of CST Team and we’d like to confirm whether your issue has been successfully resolved. If you still have any questions or need further assistance, please don’t hesitate to reach out. We’re more than happy to continue supporting you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;B Manikanteswara Reddy&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 06:41:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4838676#M12607</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-09-30T06:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4841147#M12690</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/182888" target="_blank"&gt;@msprog&lt;/A&gt;&amp;nbsp; &amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;Thanks for reaching out to the Microsoft fabric community forum.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&amp;nbsp;&lt;BR /&gt;Community Support Team.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 06:37:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4841147#M12690</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2025-10-03T06:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4842137#M12715</link>
      <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="182888" data-lia-user-login="msprog" class="lia-mention lia-mention-user"&gt;msprog&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lakehouse = Fabric Data Warehouse = Power BI Semantic Model ( Direct Lake ) = Power BI Dataflow Gen 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can connect to lakehouse using Power BI Dataflow Gen 2 and once the table is in Delta Lake Lakehouse, You can get similar approach is Fabric Data Warehouse. Always use the Delta Lake Lakehouse Approach ( Spark ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes once data is in Lakehouse, You can use the &lt;STRONG&gt;View &lt;/STRONG&gt;in Fabric Data Warehouse to write SQL. or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Lakehouse, use SHOW VIEWS and SHOW TABLES in Notebooks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 07:16:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4842137#M12715</guid>
      <dc:creator>BhaveshPatel</dc:creator>
      <dc:date>2025-10-07T07:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark notebook : Lakehouse Sql end point</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4843951#M12753</link>
      <description>&lt;P&gt;Maybe I dont fully understand the issue so correct me if I am in the wrong direction, but in a notebook you can choose to use sparkSQL. A view is basically a stored sql script,&amp;nbsp; that you call as a view in the an sql endpoint (or any sql database for that matter).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried running the actual SQL code, that makes us the view, in a sparkSQL notebook, write to a dataframe, or display it? Whatever the steps are that you need after this.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A notebook&amp;nbsp; can't read the sql endpoint, but it can run SparkSQL which is quite similar to SQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Hans&lt;BR /&gt;(if my answer is usefull, please give it a kudo or mark it as a solution)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 03:16:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-notebook-Lakehouse-Sql-end-point/m-p/4843951#M12753</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2025-10-07T03:16:34Z</dc:date>
    </item>
  </channel>
</rss>

