dosubot[bot] commented on issue #30208:
URL: https://github.com/apache/superset/issues/30208#issuecomment-2340145575

   <!-- Answer -->
   If you are unable to see the "Sources > Tables" section in Apache Superset 
despite a successful connection test and having `pyhive` installed, it could be 
due to a few reasons:
   
   1. **Permissions**: Ensure that the user has the necessary permissions to 
access the "Sources > Tables" section. Specifically, the user needs the 
**can_list** and **can_show** permissions on the Table model 
<sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/security/security.mdx)</sup>.
   
   2. **Database Configuration**: Verify that the database ID (`pk`) is correct 
and that the `TablesDatabaseCommand` is correctly implemented and executed 
without errors. The `tables` endpoint in the `DatabaseRestApi` class is 
responsible for fetching the list of tables for a given database 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset/databases/api.py)</sup>.
   
   3. **Implementation of `TablesDatabaseCommand`**: Ensure that the 
`TablesDatabaseCommand` is properly implemented and that there are no issues 
with its dependencies. The command should be able to fetch the list of tables 
and views from the database 
<sup>[[3]](https://github.com/apache/superset/blob/master/superset/commands/database/tables.py)</sup>.
   
   If these conditions are met and you still face issues, there might be a 
deeper configuration or permission problem that needs to be addressed.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to