Marketplace 系統數據表參考
重要
此系統數據表位於公開預覽版 。 若要存取資料表,必須在您的 system
目錄中啟用架構。 如需詳細資訊,請參閱 啟用系統資料表架構。
本文提供如何使用系統數據表來協助監視 Databricks Marketplace 銷售程式的概觀。
Marketplace 系統數據表位於 system.marketplace
架構中。 下表可供使用:
注意
您可以使用提供者分析儀表板來監控收件者使用計量。 儀錶板會從 Marketplace 系統數據表提取數據。 請參閱使用儀表板監控列出使用計量。
列出存取事件列表
清單存取事件數據表會擷取已完成 要求數據的取用者資訊, 或 取得清單上 事件的數據。
資料表路徑:此系統資料表位於 system.marketplace.listing_access_events
。
欄名稱 | 資料類型 | 描述 |
---|---|---|
account_id |
字串 | 裝載清單的帳戶 ID。 |
metastore_id |
字串 | 裝載管清單的中繼存放區 ID。 |
metastore_cloud |
字串 | 裝載清單的中繼存放區雲端提供者。 |
metastore_region |
字串 | 裝載清單的中繼存放區區域。 |
provider_id |
字串 | 提供者設定檔 ID。 |
provider_name |
字串 | 提供者設定檔名稱。 |
listing_id |
字串 | 清單 ID。 |
listing_name |
字串 | 清單名稱。 |
consumer_delta_sharing_recipient_name |
字串 | 取用者的基礎 Delta 共用收件者名稱。 當 event_type 為 null 時,值為 REQUEST_DATA 。 |
consumer_delta_sharing_recipient_type |
字串 | 取用者是否位於 Azure Databricks 帳戶。 值會是 OPEN 或 DATABRICKS 。 |
consumer_cloud |
字串 | 取用者的雲端。 如果 consumer_delta_sharing_recipient_type 為 OPEN ,則可為 Null。 |
consumer_region |
字串 | 取用者的區域。 如果 consumer_delta_sharing_recipient_type 為 OPEN ,則可為 Null。 |
consumer_metastore_id |
字串 | 取用者的中繼存放區 ID。 如果 consumer_delta_sharing_recipient_type 為 OPEN ,則可為 Null。 |
consumer_email |
字串 | 取用者電子郵件地址。 |
consumer_name |
字串 | 取用者的名稱。 |
consumer_company |
字串 | 消費者的公司。 |
consumer_intended_use |
字串 | 取用者的預定清單用途。 |
consumer_comments |
字串 | 取用者留下的任何其他評論。 |
event_type |
字串 | 存取類型: 這個值可以是 REQUEST_DATA 或 GET_DATA 。 |
event_date |
date | 事件發生的 UTC 日期。 |
event_time |
timestamp | 事件發生的確切 UTC 時間戳記。 時區資訊會記錄在值結尾,+00:00 表示 UTC。 |
列出漏斗事件表格
列表漏斗事件表會分析對列表的展示次數與執行的操作。
event_type
會告訴您取用者對清單採取什麼動作。
資料表路徑:此系統資料表位於 system.marketplace.listing_funnel_events
。
欄位名稱 | 資料類型 | 描述 |
---|---|---|
account_id |
字串 | 裝載清單的帳戶 ID。 |
metastore_id |
字串 | 裝載管清單的中繼存放區 ID。 |
metastore_cloud |
字串 | 裝載清單的中繼存放區雲端提供者。 |
metastore_region |
字串 | 裝載清單的中繼存放區區域。 |
provider_id |
字串 | 提供者設定檔 ID。 |
provider_name |
字串 | 提供者設定檔名稱。 |
listing_id |
字串 | 清單 ID。 |
listing_name |
字串 | 清單名稱。 |
event_type |
字串 | 取用者動作的類型。 請參閱事件類型。 |
event_time |
timestamp | 事件發生的確切 UTC 時間戳記。 時區資訊會記錄在值結尾,+00:00 表示 UTC。 |
event_date |
date | 事件發生的 UTC 日期。 |
consumer_cloud |
字串 | 取用者的雲端。 如果 consumer_delta_sharing_recipient_type 為 OPEN ,則可為 Null。 |
consumer_region |
字串 | 取用者的區域。 如果 consumer_delta_sharing_recipient_type 為 OPEN ,則可為 Null。 |
事件類型
event_type
欄的可能值為:
VIEW_LISTING
START_REQUEST_DATA
COMPLETE_REQUEST_DATA
ABANDON_REQUEST_DATA
START_GET_DATA
COMPLETE_GET_DATA
ABANDON_GET_DATA
UNINSTALL_DATA
FAIL_REQUEST_DATA
FAIL_GET_DATA
已知的限制
- 自 2024 年 3 月 12 日起,Marketplace 系統資料表包含在 Google Cloud 上使用 Databricks 的消費者活動。 數據表不包含此日期之前的 Google Cloud 取用者活動。
- 在
listing_funnel_events
數據表中,2023 年 11 月 30 日之前未記錄ABANDON_FAIL_DATA
和FAIL_GET_DATA
的事件類型。
查詢範例
本節包含下列範例查詢,可用來深入了解清單上的取用者活動。
過去 10 天內的取用者請求
SELECT event_date, provider_name, listing_name, listing_id, consumer_delta_sharing_recipient_name, consumer_cloud, consumer_region, consumer_name, consumer_email, consumer_company
FROM system.marketplace.listing_access_events
WHERE event_type = 'REQUEST_DATA'
AND event_date >= date_add(current_date(), -10)
按請求數量排名靠前的清單
SELECT listing_name, consumer_cloud, count(*) as requestCount
FROM system.marketplace.listing_access_events
GROUP BY listing_name, consumer_cloud
ORDER BY requestCount DESC
檢視最熱門的請求者
SELECT consumer_name, consumer_email, count(*) as requestCount
FROM system.marketplace.listing_access_events
GROUP BY consumer_name, consumer_email
ORDER BY requestCount DESC
查看每個取用者對清單執行動作的次數
SELECT event_type, COUNT(*) as occurrences
FROM system.marketplace.listing_funnel_events
WHERE listing_name = :listing_name
GROUP BY event_type
筆記本示範:分析 Marketplace 系統數據表
下列筆記本包含本文中的範例查詢,以及提供進一步分析的其他儲存格。