This method converts data.frame columns into the correct format so that it can be uploaded Athena.
# S4 method for AthenaConnection
sqlData(con, value, row.names = NA, ...)A database connection.
A data frame
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.
Other arguments used by individual methods.
sqlData returns a dataframe formatted for Athena. Currently converts list variable types into character
split by '|', similar to how data.table writes out to files.