You can implement a custom compression algorithm as a scalar external UDF, and then specify the UDF in the COMPRESS USING phrase of a column definition for a CREATE TABLE or ALTER TABLE statement, for example:
CREATE TABLE table_name (ItemNo INTEGER, Type CHAR(10) UPPERCASE, Description VARCHAR(1000) COMPRESS USING compression_UDF_name DECOMPRESS USING decompression_UDF_name);
Test custom ALC UDFs thoroughly. If the compression or decompression algorithm fails, compressed data may be corrupted or may not be recoverable.