從 Mixpanel 實體中讀取 - AWS Glue

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

從 Mixpanel 實體中讀取

先決條件

您必須擁有一個要從中讀取資料的 Mixpanel 物件,例如 FunnelsRetention、或 Retention Funnels。此外,您將需要知道物件名稱。

支援的實體

實體 可以篩選 支援限制 支援排序依據 支援選取 * 支援分區
漏斗圖
Retention
區隔
分段總和
分段平均值
群體
聯絡
事件
事件頂端
事件名稱
事件屬性
事件屬性頂端
事件屬性值
註釋
設定檔事件活動

範例

mixpanel_read = glueContext.create_dynamic_frame.from_options( connection_type="mixpanel", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "/cohorts/list?project_id=2603353", "API_VERSION": "2.0", "INSTANCE_URL": "https://www.mixpanel.com/api/app/me" }

Mixpanel 實體和欄位詳細資訊

實體 欄位 資料類型 支援的運算子
漏斗圖 funnel_id Integer '='
workspace_id Integer '='
from_date 日期 '='
to_date 日期 '=’
length Integer '='
length_unit String '='
間隔 Integer '='
單位 String '='
limit Integer '='
資料 Struct
meta Struct
Retention workspace_id Integer '='
單位 String '='
addiction_unit String '='
from_date 日期 '='
to_date 日期 '='
事件 String '='
limit Integer '='
資料 Struct
區隔 workspace_id Integer '='
事件 String '='
from_date 日期 '='
to_date 日期 '='
單位 String '='
間隔 Integer '='
limit Integer '='
type String '='
series 清單
values Struct
資料 Struct
分段數值 workspace_id Integer '='
事件 String '='
on String '='
from_date 日期 '='
to_date 日期 '='
單位 String '='
type String '='
series 清單
values Struct
分段總和 workspace_id Integer '='
事件 String '='
on String '='
from_date 日期 '='
to_date 日期 '='
單位 String '='
中繼資料 Struct
results Struct
分段平均值 workspace_id Integer '='
事件 String '='
on String '='
from_date 日期 '='
to_date 日期 '='
單位 String '='
中繼資料 Struct
results Struct
群體 count Integer
is_visible Integer
描述 String
已建立 DateTime
project_id Integer
id BigInteger
name String
data_group_id String
聯絡 distinct_id String
屬性 Struct
事件 工作區 Integer '='
事件 String '='
type String '='
單位 String '='
間隔 Integer '='
from_date 日期 '='
to_date 日期 '='
series 清單
values Struct
事件頂端 type String '='
workspace_id Integer '='
limit Integer '='
amount Integer
事件 String
percent_change Float
事件名稱 資料 清單
workspace_id Integer '='
type String '='
limit Integer '='
事件屬性 workspace_id Integer '='
事件 String '='
name String '='
type String '='
單位 String '='
間隔 Integer '='
from_date 日期 '='
to_date 日期 '='
limit Integer '='
資料 Struct
series 清單
values Struct
事件屬性頂端 workspace_id Integer '='
事件 String '='
limit Integer '='
資料 Struct
事件屬性值 workspace_id Integer '='
事件 String '='
limit Integer '='
name String '='
資料 清單
註釋 workspace_id Integer
date DateTime
project_id Integer
id BigInteger
描述 String
from_date 日期 BETWEEN
設定檔事件活動 workspace_id Integer '='
distinct_ids String '='
from_date 日期 '='
to_date 日期 '='
事件 String
屬性 Struct