Maintain column order when uploading an R data frame to Big Query

Viewed 394

I am uploading an R data frame to Big Query with this:

bq_table_upload("project.dataset.table_name", df_name) 

It works, but the order of the columns is different in BQ than in R.

Is it possible to get the table to inherit the order of the columns from the data frame? I have looked through the documentation and have not found this option, though it is certainly possible I missed it.

0 Answers
Related