 T55.hidden_name AS "Hidden_Name (DS)",
 T55.id AS "Id (DS)",
 T55.incrementable_extracts AS "Incrementable_Extracts (DS)",
+T55.is_certified AS "Is_Certified (DS)",
 T55.is_hierarchical AS "Is_Hierarchical (DS)",
 T55.last_published_at AS "Last_Published_At (DS)",
 T55.lock_version AS "Lock_Version (DS)",

T55.size AS "Size (DS)",
T55.state AS "State (DS)",
T55.table_name AS "Table_Name (DS)",
T55.updated_at AS "Updated_At (DS)"
FROM
datasources T55
INNER JOIN data_connections T49 ON T55.id = T49.datasource_id
LEFT JOIN data_connections T49 ON T55.owner_id = T49.id AND data_connections.OWNER_TYPE = 'Datasource'
INNER JOIN datasource_metrics_aggregations T52 ON T55.id = T52.datasource_id

INNER JOIN sites T259 ON T54.site_id = T259.id
INNER JOIN datasources T55 ON T54.datasource_id = T55.id
---------------------------------------------------
-- OPTIONAL ALL DATASOURCES
-- Logic pulled from: https://community.tableau.com/docs/DOC-9974
-- Credit: https://community.tableau.com/people/matthew.coles
-- Table datasources
SELECT DISTINCT
T55.asset_key_id AS "Asset_Key_ID (DS)",
