Upload a csv file using google scripts to bigquery fails

强颜欢笑 提交于 2020-01-16 05:32:25

问题


I did a google script to automatically upload a csv file to bigquery. It was a small file (5mb), and it worked out. Now, I'm trying to upload a 150MB csv file with the very same script, and I always get a "server error". Is it supposed to work until 1GB, isn't it?

I appreciate your help!

Albert


回答1:


Bigquery has 1GB limit but the Google Apps Script UrlFetch Post Size can be maximum upto 10MB. You can not POST 100MB file using Apps Script UrlFetch

Check for Quota limits here.

  • https://docs.google.com/macros/dashboard


来源:https://stackoverflow.com/questions/23681142/upload-a-csv-file-using-google-scripts-to-bigquery-fails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!