list_connections
List all available data connections and retrieve their numeric ID, which is required for querying databases or creating datasets in Cloudera Data Visualization.
Instructions
STEP 1 of every data workflow — list all CDV data connections.
A data connection is the top-level link to an external database (Impala, Hive, etc.). The connection's numeric ID (dc_id / dataconnection_id) is used when: • Querying raw SQL via query_dataapi(dataconnection_id=, query="SELECT ...") • Creating a new dataset with create_dataset(body={"dc_id": , ...})
WORKFLOW — always run this FIRST, then:
list_connections() → identify the right connection and its ID
list_datasets() → find existing datasets built on that connection
query_dataapi(...) → explore table columns and sample data
list_workspaces() → get workspace_id for visual creation
create_smart_visual(...) → create charts
create_dashboard(...) → make charts visible in CDV
Never create a new connection unless the user explicitly requests it and no existing connection points to their data source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |