Skip to content

Commit

Permalink
Updated PARTITION syntax to final syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRys authored Sep 22, 2016
1 parent 0cc97d9 commit 03405b3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ CREATE TABLE vehiclesP(
, speed int
, direction string
, trip_id int?
, INDEX idx CLUSTERED (vehicle_id ASC) PARTITIONED BY BUCKETS (event_date) HASH (vehicle_id) INTO 4
, INDEX idx CLUSTERED (vehicle_id ASC)
PARTITIONED BY (event_date)
DISTRIBUTED BY HASH (vehicle_id) INTO 4
);

// Create partitions
Expand Down

0 comments on commit 03405b3

Please sign in to comment.