<?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 Connect Spark Cluster to SQL Endpoint in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/connect-spark-cluster-to-sql-endpoint/m-p/35666#M198</link>
    <description>&lt;P&gt;Hello! Is it possible to retrieve data from a SQL Endpoint in the Databricks SQL persona using the Data Science and Engineering persona?&amp;nbsp; In other words, I would like to use pyspark in DS&amp;amp;E to query a table in Databricks SQL.&lt;/P&gt;&lt;P&gt;#DatabricksSQL&lt;/P&gt;&lt;P&gt;#DatabricksDS&amp;amp;E&lt;/P&gt;&lt;P&gt;#ConnectClustersToEndPoints&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 11:00:57 GMT</pubDate>
    <dc:creator>carroll_q2</dc:creator>
    <dc:date>2023-06-28T11:00:57Z</dc:date>
    <item>
      <title>Connect Spark Cluster to SQL Endpoint</title>
      <link>https://community.databricks.com/t5/administration-architecture/connect-spark-cluster-to-sql-endpoint/m-p/35666#M198</link>
      <description>&lt;P&gt;Hello! Is it possible to retrieve data from a SQL Endpoint in the Databricks SQL persona using the Data Science and Engineering persona?&amp;nbsp; In other words, I would like to use pyspark in DS&amp;amp;E to query a table in Databricks SQL.&lt;/P&gt;&lt;P&gt;#DatabricksSQL&lt;/P&gt;&lt;P&gt;#DatabricksDS&amp;amp;E&lt;/P&gt;&lt;P&gt;#ConnectClustersToEndPoints&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 11:00:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/connect-spark-cluster-to-sql-endpoint/m-p/35666#M198</guid>
      <dc:creator>carroll_q2</dc:creator>
      <dc:date>2023-06-28T11:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Spark Cluster to SQL Endpoint</title>
      <link>https://community.databricks.com/t5/administration-architecture/connect-spark-cluster-to-sql-endpoint/m-p/35670#M199</link>
      <description>&lt;P&gt;you do not need the sql warehouse itself for that.&amp;nbsp; for ds &amp;amp; e you need a classic cluster (not a sql endpoint) anyway so you can easily read the tables from the metastore using spark.read.table().&lt;/P&gt;&lt;P&gt;Connecting the sql endpoint to the ds cluster seems odd, because what part of the query plan will be executed by the sql endpoint and what part by the ds cluster?&lt;/P&gt;&lt;P&gt;Right now you can already use a sql endpoint for sql notebooks.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 12:12:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/connect-spark-cluster-to-sql-endpoint/m-p/35670#M199</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-28T12:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Spark Cluster to SQL Endpoint</title>
      <link>https://community.databricks.com/t5/administration-architecture/connect-spark-cluster-to-sql-endpoint/m-p/35672#M200</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/14792"&gt;@-werners-&lt;/a&gt;&amp;nbsp;Thank you for the response!&amp;nbsp; You make some valid points.&amp;nbsp; Specifically, your recommendation to use spark.read.table() was the solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 12:38:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/connect-spark-cluster-to-sql-endpoint/m-p/35672#M200</guid>
      <dc:creator>carroll_q2</dc:creator>
      <dc:date>2023-06-28T12:38:29Z</dc:date>
    </item>
  </channel>
</rss>

