Google bigquery Bigquery:getNumRows()在tables.get之后返回null?

Google bigquery Bigquery:getNumRows()在tables.get之后返回null?,google-bigquery,Google Bigquery,在此之后,在我的主要功能中: // Retrieve the specified table resource public Table getTable(String tableId) { Tables tableRequest = sBIGQUERY.tables(); Table table = null; try { table = tableRequest.get(mProjectId, mDataset, tableId).execute();

在此之后,在我的主要功能中:

// Retrieve the specified table resource
public Table getTable(String tableId) {
    Tables tableRequest = sBIGQUERY.tables();
    Table table = null;
    try {
        table = tableRequest.get(mProjectId, mDataset, tableId).execute();
    } catch (IOException e) {
        logger.error(e);
    }
    return table;
}

有时info.getNumBytes()和info.getNumRows()返回null,但info.getCreationTime()和info.getLastModifiedTime()都可以。为什么呢

BigQuery不会返回表中的行数,如果事先不知道行数。发生这种情况的主要方式是使用最近通过流操作写入的表(tabledata.insertall())。这种情况也可能发生在某些类型的表上,这些表是指向Google内部数据的链接(这种情况很少见),或者在表视图中,当基础表发生更改时,不会计算行数。

那么,从用户的角度来看,如果我们可以得到上次修改的时间,是否可以只返回上次修改时的大小?我想这会让你更容易理解统计数据。
Table info = mBigquery.getTable(tableId);
logger.info(tableId + "#" + info.getCreationTime() + "#" + info.getLastModifiedTime()+"#"+info.getNumBytes()+"#"+info.getNumRows());