TransWikia.com

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

Stack Overflow Asked on November 22, 2021

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.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP