1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 20:42:40 +00:00

Adding terraform config

This currently just redirects to the old bible, but at least everything is up and running
This commit is contained in:
Jocelyn Badgley (Twipped)
2020-02-13 09:46:46 -08:00
commit 3793c0f363
14 changed files with 877 additions and 0 deletions

23
terraform/files/table.sql Normal file
View File

@@ -0,0 +1,23 @@
CREATE EXTERNAL TABLE gdbible.events (
dts TIMESTAMP,
page STRING,
client_start TIMESTAMP,
client_end TIMESTAMP,
duration INT,
useragent struct<
browser: struct< name:STRING, version:STRING, major: INT >,
os: struct< name:STRING, version:STRING >
>,
`query` struct<
tid: STRING,
page_height:INT,
viewport_height:INT,
max_scroll:INT,
viewed:INT,
language:STRING,
referrer:STRING
>,
original struct<c_ip: STRING>
)
ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe'
LOCATION 's3://gdbible-analytics/Converted'