Greenplum sqlCreateTable method
# S4 method for GreenplumConnection
sqlCreateTable(con, table, fields,
row.names = NA, temporary = FALSE, distributed_by = NULL, ...)A database connection.
Name of the table. Escaped with [dbQuoteIdentifier()].
Either a character vector or a data frame.
A named character vector: Names are column names, values are types. Names are escaped with [dbQuoteIdentifier()]. Field types are unescaped.
A data frame: field types are generated using [dbDataType()].
Either TRUE, FALSE, NA or a string.
If TRUE, always translate row names to a column called "row_names".
If FALSE, never translate row names. If NA, translate
rownames only if they're a character vector.
A string is equivalent to TRUE, but allows you to override the
default name.
For backward compatibility, NULL is equivalent to FALSE.
If `TRUE`, will generate a temporary table statement.
Distribution columns for new table. NULL for random distribution.
Other arguments used by individual methods.