BigQuery API limit exceeded error

后端 未结 2 1042
小蘑菇
小蘑菇 2021-01-18 08:01

We\'ve got error during tabledata.list with message:

API limit exceeded: Unable to return a row that exceeds the API limits. To retrieve the row, export the          


        
相关标签:
2条回答
  • 2021-01-18 08:27

    Sorry about the inconvenience.

    This is a known issue of tabledata.list method. The problem is that we have some infrastructure limitations that it is currently not possible to return very large row from tabledata.list.

    large is a relative word. Unfortunately some row has small size when represented in json, but can consume lots of memory when represented in our internal format.

    The current workaround is as mentioned in the error message: to export the table.

    For the long-term, we are actively working on improving our system to overcome this limitation. Stay tuned :)

    0 讨论(0)
  • 2021-01-18 08:27

    There are two row related limits for tabledata.list:

    1. The byte size of the proto message has to be less than 10M. If one row is larger than this size, we cannot retrieve it.

    2. The max field value in the row has to be less than 350,000, that is the number of leaf fields of a row.

    If you hit that problem, it usually only means the first row in your request is too large to return, if you skip that row, the following row retrieval might work. You may try look at the particular row closer to see why.

    In the future, it is likely the field value limit can be removed, but we will still have the 10M size limit due to API server limitations.

    0 讨论(0)
提交回复
热议问题