Created
February 7, 2018 06:53
-
-
Save robert8138/08c525785eb959ffe6b861f959db6c61 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS fct_bookings ( | |
id_listing BIGINT COMMENT 'Unique ID of the listing' | |
, id_host BIGINT COMMENT 'Unique ID of the host who owns the listing' | |
, m_bookings BIGINT COMMENT 'Denoted 1 if a booking transaction occurred' | |
) | |
PARTITION BY ( -- this is how we define partition keys | |
ds STRING | |
); |
which database or data warehouse is used for this syntax?
This is for Apache Hive
Correct!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
which database or data warehouse is used for this syntax?