-- 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"."_20110731" (public, actor, created_at, type, repo, payload, id, other, org) VALUES (True, '{
  "avatar_url": "https://secure.gravatar.com/avatar/aecf0a2b0e31c88e226b0010e863fa14?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
  "gravatar_id": "aecf0a2b0e31c88e226b0010e863fa14",
  "id": 563208,
  "login": "piston",
  "url": "https://api.github.dev/users/piston"
}', 1312147457000000, 'ForkEvent', '{
  "id": 1633914,
  "name": "ha/doozerd",
  "url": "https://api.github.dev/repos/ha/doozerd"
}', '{"forkee":{"name":"piston/doozerd","public":true,"id":2133863}}', '1479835841', NULL, '{
  "avatar_url": "https://secure.gravatar.com/avatar/b93605a365b51f86539fc84ddc7c88d0?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-org-420.png",
  "gravatar_id": "b93605a365b51f86539fc84ddc7c88d0",
  "id": 723730,
  "login": "ha",
  "url": "https://api.github.dev/orgs/ha"
}'), (True, '{
  "avatar_url": "https://secure.gravatar.com/avatar/71252c060037d7df6511fdb7246a6261?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
  "gravatar_id": "71252c060037d7df6511fdb7246a6261",
  "id": 281,
  "login": "joshuamckenty",
  "url": "https://api.github.dev/users/joshuamckenty"
}', 1312128117000000, 'WatchEvent', '{
  "id": 1633914,
  "name": "ha/doozerd",
  "url": "https://api.github.dev/repos/ha/doozerd"
}', '{"action":"started"}', '1479815124', NULL, '{
  "avatar_url": "https://secure.gravatar.com/avatar/b93605a365b51f86539fc84ddc7c88d0?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-org-420.png",
  "gravatar_id": "b93605a365b51f86539fc84ddc7c88d0",
  "id": 723730,
  "login": "ha",
  "url": "https://api.github.dev/orgs/ha"
}'), (True, '{
  "avatar_url": "https://secure.gravatar.com/avatar/19e11a73f11086d9fac9b17816912e96?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
  "gravatar_id": "19e11a73f11086d9fac9b17816912e96",
  "id": 134588,
  "login": "jeremyb",
  "url": "https://api.github.dev/users/jeremyb"
}', 1312103045000000, 'WatchEvent', '{
  "id": 1455521,
  "name": "IKS/VIE",
  "url": "https://api.github.dev/repos/IKS/VIE"
}', '{"action":"started"}', '1479796289', NULL, '{
  "avatar_url": "https://secure.gravatar.com/avatar/26ae4744daa02b39e351d53fa818c599?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-org-420.png",
  "gravatar_id": "26ae4744daa02b39e351d53fa818c599",
  "id": 639385,
  "login": "IKS",
  "url": "https://api.github.dev/orgs/IKS"
}'), (True, '{
  "avatar_url": "https://secure.gravatar.com/avatar/304c150d347619e3b5b94c899d57164f?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
  "gravatar_id": "304c150d347619e3b5b94c899d57164f",
  "id": 283244,
  "login": "zyxist",
  "url": "https://api.github.dev/users/zyxist"
}', 1312093643000000, 'PushEvent', '{
  "id": 1309031,
  "name": "OPL/opl3-autoloader",
  "url": "https://api.github.dev/repos/OPL/opl3-autoloader"
}', '{"shas":[["ed22f9c460c82f9554b62dfb8bee6609b9f71464","35af5e7d883fbfa259449fb008c5756303209f9d@tlen.pl","The configuration now supports <option> tags.","zyxist"]],"ref":"refs/heads/develop","size":1,"head":"ed22f9c460c82f9554b62dfb8bee6609b9f71464","push_id":38127505}', '1479790457', NULL, '{
  "avatar_url": "https://secure.gravatar.com/avatar/3b4d890c1756d548881d5e9e870f7fc2?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-org-420.png",
  "gravatar_id": "3b4d890c1756d548881d5e9e870f7fc2",
  "id": 280696,
  "login": "OPL",
  "url": "https://api.github.dev/orgs/OPL"
}'), (True, '{
  "avatar_url": "https://secure.gravatar.com/avatar/21c000e5757ab0b851c1f2ddbc8f9818?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
  "gravatar_id": "21c000e5757ab0b851c1f2ddbc8f9818",
  "id": 272000,
  "login": "Littlejth",
  "url": "https://api.github.dev/users/Littlejth"
}', 1312092954000000, 'PushEvent', '{
  "id": 2127571,
  "name": "SDX/cm_android",
  "url": "https://api.github.dev/repos/SDX/cm_android"
}', '{"shas":[["4197fe95ba91dc0981389f6b979b958f2d59a11c","dc76e9f0c0006e8f919e0c515c66dbba3982f785@littlejth-dev.localdomain","SDX Repositories","root"]],"ref":"refs/heads/gingerbread","size":1,"head":"4197fe95ba91dc0981389f6b979b958f2d59a11c","push_id":38127245}', '1479790016', NULL, '{
  "avatar_url": "https://secure.gravatar.com/avatar/70490f56e71dec5146bcd32958241d44?d=http://github.dev%2Fimages%2Fgravatars%2Fgravatar-org-420.png",
  "gravatar_id": "70490f56e71dec5146bcd32958241d44",
  "id": 318891,
  "login": "SDX",
  "url": "https://api.github.dev/orgs/SDX"
}');