<?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: Query Serverless SQL Warehouse from  Spark Submit Job in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62899#M32127</link>
    <description>&lt;P&gt;The table is in hive_metastore and I am using the full path.&lt;/P&gt;&lt;P&gt;The job compute is created using an instance pool&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 12:18:23 GMT</pubDate>
    <dc:creator>akhileshp</dc:creator>
    <dc:date>2024-03-07T12:18:23Z</dc:date>
    <item>
      <title>Query Serverless SQL Warehouse from  Spark Submit Job</title>
      <link>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62820#M32105</link>
      <description>&lt;P&gt;I am trying to load data from a table in SQL warehouse using spark.sql("SELECT * FROM &amp;lt;table&amp;gt;") in a spark submit job, but the job is failing with&amp;nbsp;[TABLE_OR_VIEW_NOT_FOUND] The table or view . The same statement is working in notebook but not in a job. How to query the SQL warehouse from the spark job.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 07:18:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62820#M32105</guid>
      <dc:creator>akhileshp</dc:creator>
      <dc:date>2024-03-07T07:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query Serverless SQL Warehouse from  Spark Submit Job</title>
      <link>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62878#M32123</link>
      <description>&lt;P&gt;I am running the spark job in databricks, so it is running in databricks runtime itself then why is the behaviour different with the notebook and a spark submit job&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 11:23:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62878#M32123</guid>
      <dc:creator>akhileshp</dc:creator>
      <dc:date>2024-03-07T11:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Query Serverless SQL Warehouse from  Spark Submit Job</title>
      <link>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62897#M32125</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;Is your table in Unity Catalog or in Hive Metastore ?&lt;BR /&gt;just my guess(es):&lt;/P&gt;&lt;P&gt;- use full table path &lt;STRONG&gt;Catalog_name.Schema_Name.Table_name&amp;nbsp;&lt;/STRONG&gt;(maybe you had some context saved when querying data interactively.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if your table is in UC - is your Job Cluster running in UC enabled mode (single / shared) ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;From your post it is bit uncleare where and what you are running.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 12:12:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62897#M32125</guid>
      <dc:creator>Wojciech_BUK</dc:creator>
      <dc:date>2024-03-07T12:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Query Serverless SQL Warehouse from  Spark Submit Job</title>
      <link>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62899#M32127</link>
      <description>&lt;P&gt;The table is in hive_metastore and I am using the full path.&lt;/P&gt;&lt;P&gt;The job compute is created using an instance pool&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 12:18:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62899#M32127</guid>
      <dc:creator>akhileshp</dc:creator>
      <dc:date>2024-03-07T12:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Query Serverless SQL Warehouse from  Spark Submit Job</title>
      <link>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62904#M32130</link>
      <description>&lt;P&gt;- when you query table manually and running job - do both those actions happens in same Databricks Workspace&lt;BR /&gt;- what is job configuration - who is job Owner or Run As Account -&amp;gt; do this principal/persona has access to the table ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 14:19:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62904#M32130</guid>
      <dc:creator>Wojciech_BUK</dc:creator>
      <dc:date>2024-03-07T14:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Query Serverless SQL Warehouse from  Spark Submit Job</title>
      <link>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62912#M32134</link>
      <description>&lt;P&gt;Yes, Both are in the same workspace and querying same table&lt;/P&gt;&lt;P&gt;Yes the principle has all the access.&lt;/P&gt;&lt;P&gt;Also its working with spark python job, the problem is with spark submit job only.&lt;/P&gt;&lt;P&gt;My usecase is supported only in submit job since I am having multiple scripts in a zip file&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 15:45:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-serverless-sql-warehouse-from-spark-submit-job/m-p/62912#M32134</guid>
      <dc:creator>akhileshp</dc:creator>
      <dc:date>2024-03-07T15:45:03Z</dc:date>
    </item>
  </channel>
</rss>

