We use the BigQuery Java API to upload data from local data source as described here. When uploading a Parquet file with 18 columns (16 string, 1 float64, 1 timestamp) and 13 Mio rows (e.g. 17GB of data) the upload fails with the following exception:
Resources exceeded during query execution: UDF out of memory.; Failed to read Parquet file . This might happen if the file contains a row that is too large, or if the total size of the pages loaded for the queried columns is too large.
However when uploading the same data using CSV (17.5GB of data) the upload succeeds. My questions are:
- What is the difference when uploading Parquet or CSV?
- What query is executed during upload?
- Is it possible to increase the memory for this query?
Thanks Tobias