Merge pull request #244 from clouserw/met2

agent field is broken out in redshift
This commit is contained in:
Wil Clouser 2016-11-17 08:28:36 -08:00 коммит произвёл GitHub
Родитель 74992bd5b8 4e65aa5d2d
Коммит 73fbac452b
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -123,7 +123,12 @@ local schema = {
{"uuid", "VARCHAR", 36, nil, get_uuid},
{"test", "VARCHAR", 255, nil, "test"},
{"agent", "VARCHAR", 45, nil, "agent"},
-- Parsed automatically from the `agent` field
{"user_agent_browser", "VARCHAR", 255, nil, "Fields[user_agent_browser]"},
{"user_agent_os", "VARCHAR", 255, nil, "Fields[user_agent_os]"},
{"user_agent_version", "VARCHAR", 255, nil, "Fields[user_agent_version]"},
{"didNavigate", "BOOLEAN", nil, nil, "payload[didNavigate]"},
{"interactionType", "VARCHAR", 255, nil, "payload[interactionType]"},
{"recommendationShown", "BOOLEAN", nil, nil, "payload[recommendationShown]"},