Hello,
I am using jOOQ 3.7.0-SNAPSHOT to generate Redshift CREATE TABLE statement. 
I'm able to successfully generate simple table statement. Currently I'm 
looking for a way to add Redshift specific keywords like DISTKEY, 
SORTKEY, DISTSTYLE, ..etc 
(http://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_TABLE_NEW.html). 
But I couldn't find any methods related to them. Can someone advice me on 
how to specify them?

My code currently looks something like below,

DSL.using(SQLDialect.REDSHIFT).createTable(name("schemaName", 
"tableName")).column("sales", RedshiftDataType.DECIMAL.precision(19, 
3)).column("product", RedshiftDataType.VARCHAR).toString();

Thank you.

Best Regards,
Sujee

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to