<?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 Why can't I query a table from a cluster, but can query from another cluster in the same workspace in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38643#M26692</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I have two clusters A, B under the same azure databricks workspace. Under cluster A, inside my notebook, I tried to query a table: `SELECT * FROM some_table LIMIT 5`.&amp;nbsp; It shows some permission errors. Under cluster B, if I run the same sql query, it works without error.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I thought the table under metastore is accessible to all clusters under the workspace, but apparently I am wrong.&lt;/P&gt;&lt;P&gt;Is there anything settings in cluster level that can explain this issue?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 28 Jul 2023 09:07:25 GMT</pubDate>
    <dc:creator>jdhao</dc:creator>
    <dc:date>2023-07-28T09:07:25Z</dc:date>
    <item>
      <title>Why can't I query a table from a cluster, but can query from another cluster in the same workspace</title>
      <link>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38643#M26692</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I have two clusters A, B under the same azure databricks workspace. Under cluster A, inside my notebook, I tried to query a table: `SELECT * FROM some_table LIMIT 5`.&amp;nbsp; It shows some permission errors. Under cluster B, if I run the same sql query, it works without error.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I thought the table under metastore is accessible to all clusters under the workspace, but apparently I am wrong.&lt;/P&gt;&lt;P&gt;Is there anything settings in cluster level that can explain this issue?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Jul 2023 09:07:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38643#M26692</guid>
      <dc:creator>jdhao</dc:creator>
      <dc:date>2023-07-28T09:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I query a table from a cluster, but can query from another cluster in the same workspa</title>
      <link>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38662#M26701</link>
      <description>&lt;P&gt;Check for any spark config or init script differences in the two clusters.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 12:30:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38662#M26701</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-07-28T12:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I query a table from a cluster, but can query from another cluster in the same workspa</title>
      <link>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38673#M26710</link>
      <description>&lt;P&gt;Hi Lakshay:&lt;/P&gt;&lt;P&gt;I compared the configurations for the two clusters, I can see that for the cluster where I can execute the SQL query, it has more configurations for spark, the key for those additional configuration:&lt;/P&gt;&lt;P&gt;spark.databricks.acl.dfAclsEnabled&lt;BR /&gt;spark.databricks.cluster.profile&lt;BR /&gt;spark.databricks.repl.allowedLanguages&lt;BR /&gt;spark.hadoop.fs.adls.oauth2.access.token.provider.type&lt;BR /&gt;spark.hadoop.fs.adls.oauth2.client.id&lt;BR /&gt;spark.hadoop.fs.adls.oauth2.credential&lt;BR /&gt;spark.hadoop.fs.adls.oauth2.refresh.url&lt;BR /&gt;spark.hadoop.fs.azure.account.auth.type.datalakelakeprdwe002.dfs.core.windows.net&lt;BR /&gt;spark.hadoop.fs.azure.account.oauth.provider.type.datalakelakeprdwe002.dfs.core.windows.net&lt;BR /&gt;spark.hadoop.fs.azure.account.oauth2.client.endpoint.datalakelakeprdwe002.dfs.core.windows.net&lt;BR /&gt;spark.hadoop.fs.azure.account.oauth2.client.id.datalakelakeprdwe002.dfs.core.windows.net&lt;BR /&gt;spark.hadoop.fs.azure.account.oauth2.client.secret.datalakelakeprdwe002.dfs.core.windows.net&lt;/P&gt;&lt;P&gt;Can check which one of these additonal settings affect the behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 14:31:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38673#M26710</guid>
      <dc:creator>jdhao</dc:creator>
      <dc:date>2023-07-28T14:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I query a table from a cluster, but can query from another cluster in the same workspa</title>
      <link>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38680#M26714</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85498"&gt;@jdhao&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I see a lot of configs related to ADLS authentication(except first 3). All these configs will be needed when you want to access the data stored in ADLS.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 15:52:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38680#M26714</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-07-28T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I query a table from a cluster, but can query from another cluster in the same workspa</title>
      <link>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38682#M26716</link>
      <description>&lt;P&gt;Okay, I see, maybe the tables are physically stored in ADLS, but one cluster is lacking those auth info, so we can not query the tables.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 16:03:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-can-t-i-query-a-table-from-a-cluster-but-can-query-from/m-p/38682#M26716</guid>
      <dc:creator>jdhao</dc:creator>
      <dc:date>2023-07-28T16:03:11Z</dc:date>
    </item>
  </channel>
</rss>

