Databricks Excel ODBC driver bug

ADM Nick Sørensen 0 Reputation points
2024-08-20T08:23:14.69+00:00

Hello! I might have experienced a bug with the ODBC driver. 

We have an issue where given certain priviledges in databricks, the ODBC driver is unable to show any schemas/tables. When we click the 'expand' button on any catalog in the list (of which we have 6) no schemas are visible. It simply loads and finishes 'succesfully', similar to when it 'works'. My assumption is that the result from what ever API seems to be empty.. or something. the driver might be crashing or something, without Excel registering.  The priviledge in question seems to be if the user has access to any federated catalog with USE CATALOG, without access to any of the underlying schemas. (I.e no USE SCHEMA and no SELECT).  Anyway, we can add the priviledge in question; it breaks. remove it. it works again. We are not sure how to proceed, but have removed access to this catalog for the time being, however it changes the structure of our security setup somewhat. If this is a known bug and a fix is on it's way, i'd love to hear it. if we are doing something wrong, likewise.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,175 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 89,386 Reputation points Microsoft Employee
    2024-08-28T10:39:42.7633333+00:00

    @ADM Nick Sørensen - Thanks for the question and using MS Q&A platform.

    Here is the update from internal team:

    The priviledge in question seems to be if the user has access to any federated catalog with USE CATALOG, without access to any of the underlying schemas. (I.e no USE SCHEMA and no SELECT)

    All users are granted the "BROWSE" privilege by default on new catalogs that are created using the Catalog Explorer. So try removing the BROWSE privilege and then work with the "USE Catalog" privilege to see if it makes a difference.

    Note: The USE CATALOG privilege on the parent catalog is not required to read an object’s metadata if the user has the BROWSE privilege on that catalog.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.