data.frame
formatted in the list
of list
s
style as returned by Presto to an actual data.frame
It ‘defines’ a few extra “data types” to handle all types returned by Presto, like timestamps with time zones.
.json.tabular.to.data.frame(data, column.types, timezone)
A data.frame
of length(data)
rows and
length(data[[1]])
columns.
a list
of list
s
A character
vector of (extended) data types
corresponding to each column. See .presto.to.R
for a list
of possible values.
The timezone to use for date types.
If the items in data
are named lists the column names will
be inferred from those names. Otherwise they will be
paste0('X', seq_along(data[[1]]))
The corresponding unit tests for a full list of capabilities and data types supported