View A List of Tables/Views for A Database

GET /api/v1.2/hive/<schema_name>/tables_with_views

Use this API to view the list of Hive tables or views for a database.

Required Role

The following users can make this API call:

  • Users who belong to the system-user or system-admin group.

  • Users who belong to a group associated with a role that allows viewing a Hive table definition. See Managing Groups and Managing Roles for more information.

Example

Sample Request:

curl -X GET -H "Accept: application/json" -H "Content-type: application/json" -H "X-AUTH-TOKEN: <AUTHENTICATION_TOKEN>"
"https://api.qubole.com/api/v1.2/hive/<schema_name>/tables_with_views"

Note

The above syntax uses https://api.qubole.com as the endpoint. Qubole provides other endpoints to access QDS that are described in Supported Qubole Endpoints on Different Cloud Providers.

Sample Response:

[{"default_qubole_origin_destination":{}},{"default_qubole_memetracker":{}},{"domains":{}}]