<?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: Error with GRANT in Databricks SQL in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/error-with-grant-in-databricks-sql/m-p/33838#M755</link>
    <description>&lt;P&gt;In Databricks SQL, by default, the Limit clause is enabled. So trying GRANT with limit will throw the error. Uncheck the Limit to execute the GRANT successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Default:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2254iC3BFB74BB86E3DF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Uncheck Limit to fix this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2258i44FF8C7B281191C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2021 14:31:21 GMT</pubDate>
    <dc:creator>Prabakar</dc:creator>
    <dc:date>2021-12-03T14:31:21Z</dc:date>
    <item>
      <title>Error with GRANT in Databricks SQL</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-with-grant-in-databricks-sql/m-p/33837#M754</link>
      <description>&lt;P&gt;While trying to GRANT SELECT permissions for a Database or Table it reports the below error.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Error running query
Operation not allowed: GRANT(line 1, pos 0)
== SQL ==
GRANT SELECT ON DATABASE my_database TO `my_table` LIMIT 1000
^^^&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 14:15:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-with-grant-in-databricks-sql/m-p/33837#M754</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-12-03T14:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error with GRANT in Databricks SQL</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-with-grant-in-databricks-sql/m-p/33838#M755</link>
      <description>&lt;P&gt;In Databricks SQL, by default, the Limit clause is enabled. So trying GRANT with limit will throw the error. Uncheck the Limit to execute the GRANT successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Default:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2254iC3BFB74BB86E3DF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Uncheck Limit to fix this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2258i44FF8C7B281191C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 14:31:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-with-grant-in-databricks-sql/m-p/33838#M755</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-12-03T14:31:21Z</dc:date>
    </item>
  </channel>
</rss>

