<?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't run SQL on my cluster in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137664#M2319</link>
    <description>&lt;P&gt;Hello Neesam,&lt;BR /&gt;&lt;BR /&gt;If you have too many tables. Try this:&lt;BR /&gt;SHOW TABLES LIKE 'pattern'&amp;nbsp;&lt;BR /&gt;(or)&lt;BR /&gt;SHOW TABLES IN &amp;lt;another_database&amp;gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Nov 2025 02:46:17 GMT</pubDate>
    <dc:creator>Chiran-Gajula</dc:creator>
    <dc:date>2025-11-05T02:46:17Z</dc:date>
    <item>
      <title>Can't run SQL on my cluster</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137652#M2318</link>
      <description>&lt;P&gt;I'm relatively new to Databricks and Spark and have decided to create a Spark cluster with AWS under the free 14 day trial.&lt;/P&gt;&lt;P&gt;The JSON to the cluster is as follows:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"data_security_mode": "DATA_SECURITY_MODE_DEDICATED",&lt;BR /&gt;"single_user_name": "me@gmail.com",&lt;BR /&gt;"cluster_name": "me@gmail.com's Cluster 2025-11-04 00:20:21",&lt;BR /&gt;"kind": "CLASSIC_PREVIEW",&lt;BR /&gt;"aws_attributes": {&lt;BR /&gt;"zone_id": "auto",&lt;BR /&gt;"availability": "SPOT_WITH_FALLBACK"&lt;BR /&gt;},&lt;BR /&gt;"runtime_engine": "PHOTON",&lt;BR /&gt;"spark_version": "16.4.x-scala2.12",&lt;BR /&gt;"node_type_id": "rd-fleet.xlarge",&lt;BR /&gt;"autotermination_minutes": 30,&lt;BR /&gt;"is_single_node": false,&lt;BR /&gt;"autoscale": {&lt;BR /&gt;"min_workers": 2,&lt;BR /&gt;"max_workers": 8&lt;BR /&gt;},&lt;BR /&gt;"cluster_id": "MY_ID"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I created a table from a CSV file, which I uploaded under the workspace.&lt;/P&gt;&lt;P&gt;I created a notebook with which I've attached the running cluster to. I'm able to run basic Python just fine (as well as utilize Spark to create a dataframe and successfully showing the dataframe) within the notebook, getting results back almost instantaneously. However, when I try to run SQL, the request is left hanging.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the following code hangs indefinitely:&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;SHOW TABLES&lt;/P&gt;&lt;P&gt;I've gone into my workspace and granted myself all permissions. I also granted myself all permissions for the schema of which the table is located under.&lt;/P&gt;&lt;P&gt;The metastore that is attached to my cluster is of the same region. I also granted myself all permissions for the metastore.&lt;/P&gt;&lt;P&gt;I'm not sure what to do next.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2025 22:58:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137652#M2318</guid>
      <dc:creator>neesam</dc:creator>
      <dc:date>2025-11-04T22:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run SQL on my cluster</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137664#M2319</link>
      <description>&lt;P&gt;Hello Neesam,&lt;BR /&gt;&lt;BR /&gt;If you have too many tables. Try this:&lt;BR /&gt;SHOW TABLES LIKE 'pattern'&amp;nbsp;&lt;BR /&gt;(or)&lt;BR /&gt;SHOW TABLES IN &amp;lt;another_database&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 02:46:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137664#M2319</guid>
      <dc:creator>Chiran-Gajula</dc:creator>
      <dc:date>2025-11-05T02:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run SQL on my cluster</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137668#M2320</link>
      <description>&lt;P&gt;Hi Chiran,&lt;/P&gt;&lt;P&gt;Nothing with SQL will run, including spark.sql. I cannot run the two queries that you provided.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another thing to note is that I can't view any sample data within the Catalog section. I just get a skeleton loader. Even for sample tables (like the nytaxi dataset), it won't load the data.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 02:58:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137668#M2320</guid>
      <dc:creator>neesam</dc:creator>
      <dc:date>2025-11-05T02:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run SQL on my cluster</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137862#M2321</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A style="background-color: #ffffff;" target="_blank" rel="noopener"&gt;@neesam&lt;/A&gt;&lt;SPAN&gt;, while the command is hanging, check the driver logs from the cluster page to see if they provide any clues about what might be causing this issue.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 01:15:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/can-t-run-sql-on-my-cluster/m-p/137862#M2321</guid>
      <dc:creator>KaushalVachhani</dc:creator>
      <dc:date>2025-11-06T01:15:51Z</dc:date>
    </item>
  </channel>
</rss>

