-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Description
I'm guessing this is a limitation of BigQuery, but in case it's not: R's Inf
doesn't make it into BigQuery as such; it turns into NULL
, which then gets read back into R as NA
.
> x <- data.frame(hi = c(1, 1.2, Inf))
> DBI::dbCreateTable(conn, "blah", x)
> DBI::dbAppendTable(conn, "blah", x, billing = conn@billing)
> DBI::dbGetQuery(conn, "select * from blah")
# A tibble: 3 × 1
hi
<dbl>
1 1
2 1.2
3 NA
Metadata
Metadata
Assignees
Labels
No labels