Skip to content

Commit

Permalink
Redshift: added new columns (closes #1335, closes #1245, closes #1093,
Browse files Browse the repository at this point in the history
…closes #366)
  • Loading branch information
fblundun committed Feb 12, 2015
1 parent 10d72cb commit 3fead34
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions 4-storage/redshift-storage/sql/atomic-def.sql
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,26 @@ CREATE TABLE atomic.events (
doc_charset varchar(128) encode text255,
doc_width integer,
doc_height integer,

-- Currency
tr_currency varchar(16) encode text255,
tr_total_base dec(18, 2),
tr_tax_base dec(18, 2),
tr_shipping_base dec(18, 2),
ti_currency varchar(16) encode text255,
ti_price_base dec(18, 2),
base_currency varchar(16) encode text255,

-- Geolocation
geo_timezone varchar(64) encode text255,

-- Click ID
mkt_clickid varchar(64) encode raw,
mkt_network varchar(64) encode text255,

-- ETL tags
etl_tags varchar(500) encode raw,

CONSTRAINT event_id_040_pk PRIMARY KEY(event_id)
)
DISTSTYLE KEY
Expand Down

0 comments on commit 3fead34

Please sign in to comment.