Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
as.character(column_name) translates to CAST(column_name as TEXT) for BigQuery #268
Posted by: @mfalcioni1
Casting to string in BigQuery uses CAST(column_name as STRING). When R translates as.character(column_name) it writes it as CAST(column_name as TEXT) which fails.
Attempting to collect then produces this error:
Unfortunately hard-coding the CAST into the mutate does not work either.
EDIT: Original script was running on an old version of R, I updated and the issue still persists.