-- DBMS: snowflake
create or replace TABLE GAMES_POST_WIDE (
	"gameId" VARCHAR(16777216),
	"seasonId" VARCHAR(16777216),
	"seasonType" VARCHAR(16777216),
	"year" NUMBER(38,0),
	"startTime" NUMBER(38,0),
	"gameStatus" VARCHAR(16777216),
	"attendance" NUMBER(38,0),
	"dayNight" VARCHAR(16777216),
	"duration" VARCHAR(16777216),
	"durationMinutes" NUMBER(38,0),
	"awayTeamId" VARCHAR(16777216),
	"awayTeamName" VARCHAR(16777216),
	"homeTeamId" VARCHAR(16777216),
	"homeTeamName" VARCHAR(16777216),
	"venueId" VARCHAR(16777216),
	"venueName" VARCHAR(16777216),
	"venueSurface" VARCHAR(16777216),
	"venueCapacity" NUMBER(38,0),
	"venueCity" VARCHAR(16777216),
	"venueState" VARCHAR(16777216),
	"venueZip" VARCHAR(16777216),
	"venueMarket" VARCHAR(16777216),
	"venueOutfieldDistances" VARCHAR(16777216),
	"homeFinalRuns" NUMBER(38,0),
	"homeFinalHits" NUMBER(38,0),
	"homeFinalErrors" NUMBER(38,0),
	"awayFinalRuns" NUMBER(38,0),
	"awayFinalHits" NUMBER(38,0),
	"awayFinalErrors" NUMBER(38,0),
	"homeFinalRunsForInning" NUMBER(38,0),
	"awayFinalRunsForInning" NUMBER(38,0),
	"inningNumber" NUMBER(38,0),
	"inningHalf" VARCHAR(16777216),
	"inningEventType" VARCHAR(16777216),
	"inningHalfEventSequenceNumber" NUMBER(38,0),
	"description" VARCHAR(16777216),
	"atBatEventType" VARCHAR(16777216),
	"atBatEventSequenceNumber" NUMBER(38,0),
	"createdAt" NUMBER(38,0),
	"updatedAt" NUMBER(38,0),
	"status" VARCHAR(16777216),
	"outcomeId" VARCHAR(16777216),
	"outcomeDescription" VARCHAR(16777216),
	"hitterId" VARCHAR(16777216),
	"hitterLastName" VARCHAR(16777216),
	"hitterFirstName" VARCHAR(16777216),
	"hitterWeight" NUMBER(38,0),
	"hitterHeight" NUMBER(38,0),
	"hitterBatHand" VARCHAR(16777216),
	"pitcherId" VARCHAR(16777216),
	"pitcherFirstName" VARCHAR(16777216),
	"pitcherLastName" VARCHAR(16777216),
	"pitcherThrowHand" VARCHAR(16777216),
	"pitchType" VARCHAR(16777216),
	"pitchTypeDescription" VARCHAR(16777216),
	"pitchSpeed" NUMBER(38,0),
	"pitchZone" NUMBER(38,0),
	"pitcherPitchCount" NUMBER(38,0),
	"hitterPitchCount" NUMBER(38,0),
	"hitLocation" NUMBER(38,0),
	"hitType" VARCHAR(16777216),
	"startingBalls" NUMBER(38,0),
	"startingStrikes" NUMBER(38,0),
	"startingOuts" NUMBER(38,0),
	"balls" NUMBER(38,0),
	"strikes" NUMBER(38,0),
	"outs" NUMBER(38,0),
	"rob0_start" VARCHAR(16777216),
	"rob0_end" NUMBER(38,0),
	"rob0_isOut" VARCHAR(16777216),
	"rob0_outcomeId" VARCHAR(16777216),
	"rob0_outcomeDescription" VARCHAR(16777216),
	"rob1_start" VARCHAR(16777216),
	"rob1_end" NUMBER(38,0),
	"rob1_isOut" VARCHAR(16777216),
	"rob1_outcomeId" VARCHAR(16777216),
	"rob1_outcomeDescription" VARCHAR(16777216),
	"rob2_start" VARCHAR(16777216),
	"rob2_end" NUMBER(38,0),
	"rob2_isOut" VARCHAR(16777216),
	"rob2_outcomeId" VARCHAR(16777216),
	"rob2_outcomeDescription" VARCHAR(16777216),
	"rob3_start" VARCHAR(16777216),
	"rob3_end" NUMBER(38,0),
	"rob3_isOut" VARCHAR(16777216),
	"rob3_outcomeId" VARCHAR(16777216),
	"rob3_outcomeDescription" VARCHAR(16777216),
	"is_ab" NUMBER(38,0),
	"is_ab_over" NUMBER(38,0),
	"is_hit" NUMBER(38,0),
	"is_on_base" NUMBER(38,0),
	"is_bunt" NUMBER(38,0),
	"is_bunt_shown" NUMBER(38,0),
	"is_double_play" NUMBER(38,0),
	"is_triple_play" NUMBER(38,0),
	"is_wild_pitch" NUMBER(38,0),
	"is_passed_ball" NUMBER(38,0),
	"homeCurrentTotalRuns" NUMBER(38,0),
	"awayCurrentTotalRuns" NUMBER(38,0),
	"awayFielder1" VARCHAR(16777216),
	"awayFielder2" VARCHAR(16777216),
	"awayFielder3" VARCHAR(16777216),
	"awayFielder4" VARCHAR(16777216),
	"awayFielder5" VARCHAR(16777216),
	"awayFielder6" VARCHAR(16777216),
	"awayFielder7" VARCHAR(16777216),
	"awayFielder8" VARCHAR(16777216),
	"awayFielder9" VARCHAR(16777216),
	"awayFielder10" VARCHAR(16777216),
	"awayFielder11" VARCHAR(16777216),
	"awayFielder12" VARCHAR(16777216),
	"awayBatter1" VARCHAR(16777216),
	"awayBatter2" VARCHAR(16777216),
	"awayBatter3" VARCHAR(16777216),
	"awayBatter4" VARCHAR(16777216),
	"awayBatter5" VARCHAR(16777216),
	"awayBatter6" VARCHAR(16777216),
	"awayBatter7" VARCHAR(16777216),
	"awayBatter8" VARCHAR(16777216),
	"awayBatter9" VARCHAR(16777216),
	"homeFielder1" VARCHAR(16777216),
	"homeFielder2" VARCHAR(16777216),
	"homeFielder3" VARCHAR(16777216),
	"homeFielder4" VARCHAR(16777216),
	"homeFielder5" VARCHAR(16777216),
	"homeFielder6" VARCHAR(16777216),
	"homeFielder7" VARCHAR(16777216),
	"homeFielder8" VARCHAR(16777216),
	"homeFielder9" VARCHAR(16777216),
	"homeFielder10" VARCHAR(16777216),
	"homeFielder11" VARCHAR(16777216),
	"homeFielder12" VARCHAR(16777216),
	"homeBatter1" VARCHAR(16777216),
	"homeBatter2" VARCHAR(16777216),
	"homeBatter3" VARCHAR(16777216),
	"homeBatter4" VARCHAR(16777216),
	"homeBatter5" VARCHAR(16777216),
	"homeBatter6" VARCHAR(16777216),
	"homeBatter7" VARCHAR(16777216),
	"homeBatter8" VARCHAR(16777216),
	"homeBatter9" VARCHAR(16777216),
	"lineupTeamId" VARCHAR(16777216),
	"lineupPlayerId" VARCHAR(16777216),
	"lineupPosition" NUMBER(38,0),
	"lineupOrder" NUMBER(38,0)
);

INSERT INTO "GITHUB_REPOS_DATE"."DAY"."_20121228" (type, actor, repo, created_at, public, id, other, org, payload) VALUES ('FollowEvent', '{
  "gravatar_id": "706ae48b8af0ee94e60879f71ee2d2d7",
  "login": "geluso"
}', NULL, 1356739566000000, True, NULL, '{"actor_attributes":{"name":"Steve Geluso","type":"User","location":"Seattle, San Francisco, Moon","blog":"5tephen.com","email":"da39a3ee5e6b4b0d3255bfef95601890afd80709"},"url":"https://github.com/ohwillie"}', NULL, '{"target":{"gravatar_id":"2de7617730e20e98ef76b4cf980472b2","id":69870,"repos":49,"followers":19,"login":"ohwillie"}}'), ('FollowEvent', '{
  "gravatar_id": "f79bfc4d86d1c91147890da37209e9bc",
  "login": "gleicon"
}', NULL, 1356742438000000, True, NULL, '{"actor_attributes":{"email":"5b0004f4ef4f79ee14def999a3e93f507f6953ed@gmail.com","type":"User","blog":"http://blog.7co.cc","name":"Gleicon Moraes","location":"Sao Paulo/Brazil"},"url":"https://github.com/leonardovaz"}', NULL, '{"target":{"id":126240,"followers":12,"repos":0,"gravatar_id":"019090dfda31f4187a6b0605c7d11aa1","login":"leonardovaz"}}'), ('FollowEvent', '{
  "gravatar_id": "320c2f42c11d624354adda00b5539b81",
  "login": "amothic"
}', NULL, 1356682044000000, True, NULL, '{"actor_attributes":{"name":"Daichi Toma","blog":"http://amothic.com","email":"52a7c5e1d7dd5a861911fe39e18dac0e964a22b4@gmail.com","type":"User","location":"Japan"},"url":"https://github.com/Ramencozo"}', NULL, '{"target":{"gravatar_id":"2182b48ac502883f7e07552c9cf48cf6","followers":12,"login":"Ramencozo","repos":13,"id":227088}}'), ('FollowEvent', '{
  "gravatar_id": "87e9d126604bbb09fc5b5eb3cd220e08",
  "login": "cooerson"
}', NULL, 1356685039000000, True, NULL, '{"actor_attributes":{"type":"User","email":"da39a3ee5e6b4b0d3255bfef95601890afd80709"},"url":"https://github.com/masuidrive"}', NULL, '{"target":{"repos":27,"login":"masuidrive","id":12104,"followers":454,"gravatar_id":"0ec58a040e1e4e959c8566484b4bba19"}}'), ('GistEvent', '{
  "gravatar_id": "867a78611f72c47e0f64d6e5e536ab2f",
  "login": "bubbley"
}', NULL, 1356691555000000, True, NULL, '{"actor_attributes":{"type":"User","email":"da39a3ee5e6b4b0d3255bfef95601890afd80709"},"url":"https://gist.github.com/4396479"}', NULL, '{"action":"update","id":4396479,"desc":"The first commented line is your dabblet’s title","name":"gist: 4396479","url":"https://gist.github.com/4396479"}');