Created
February 25, 2018 16:40
-
-
Save vithalsamp/bd5d9a5c58ee3c34ddfa1b8246356b50 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 Test_Compression_Types | |
( | |
key INTEGER NOT NULL encode raw, | |
employee_num CHAR(11) NOT NULL encode lzo, | |
employee_type CHAR(1) NOT NULL encode runlength, | |
employee_status CHAR(1) NOT NULL encode lzo, | |
employee_tier CHAR(1) NOT NULL encode lzo, | |
service_flag char(1) NOT NULL encode runlength, | |
employee_flag char(1) NOT NULL encode ZSTD, | |
account_update_date DATE NOT NULL encode delta32k, | |
period_months INTEGER NOT NULL encode bytedict, | |
creation_date DATE NOT NULL encode delta32k, | |
category char(5) NOT NULL encode bytedict, | |
extended_flag CHAR(1) NOT NULL encode runlength, | |
business_date DATE NOT NULL encode delta32k, | |
address1 varchar(100) NOT NULL encode TEXT32K, | |
address2 varchar(100) NOT NULL encode TEXT255, | |
mobile_number INTEGER NOT NULL encode MOSTLY16, | |
pin SMALLINT NOT NULL encode MOSTLY8 | |
) | |
distkey (key); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment