bigrquery 1.1.0
Improved type support
-
bq_table_download()
and theDBI::dbConnect
method now has abigint
argument which governs how BigQuery integer columns are imported into R. As
before, the default isbigint = "integer"
. You can set
bigint = "integer64"
to import BigQuery integer columns as
bit64::integer64
columns in R which allows for values outside the range of
integer
(-2147483647
to2147483647
) (@rasmusab, #94). -
bq_table_download()
now treats NUMERIC columns the same was as FLOAT
columns (@paulsendavidjay, #282). -
bq_table_upload()
works with POSIXct/POSIXct varibles (#251)
SQL translation
-
as.character()
now translated toSAFE_CAST(x AS STRING)
(#268). -
median()
now translates toAPPROX_QUANTILES(x, 2)[SAFE_ORDINAL(2)]
(@valentinumbach, #267).
Minor bug fixes and improvements
-
Jobs now print their ids while running (#252)
-
bq_job()
tracks location so bigrquery now works painlessly with non-US/EU
locations (#274). -
bq_perform_upload()
will only autodetect a schema if the table does
not already exist. -
bq_table_download()
correctly computes page ranges if bothmax_results
andstart_index
are supplied (#248) -
Unparseable date times return NA (#285)