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:
23
terraform/files/table.sql
Normal file
23
terraform/files/table.sql
Normal 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'
|
||||
Reference in New Issue
Block a user