-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Relevant part of the exception:
at com.google.cloud.bigquery.StandardTableDefinition$StreamingBuffer.fromPb(StandardTableDefinition.java:113)
at com.google.cloud.bigquery.StandardTableDefinition$Builder.<init>(StandardTableDefinition.java:147)
at com.google.cloud.bigquery.StandardTableDefinition$Builder.<init>(StandardTableDefinition.java:119)
at com.google.cloud.bigquery.StandardTableDefinition.fromPb(StandardTableDefinition.java:283)
at com.google.cloud.bigquery.TableDefinition.fromPb(TableDefinition.java:172)
at com.google.cloud.bigquery.TableInfo$BuilderImpl.<init>(TableInfo.java:157)
at com.google.cloud.bigquery.Table.fromPb(Table.java:348)
at com.google.cloud.bigquery.BigQueryImpl.getTable(BigQueryImpl.java:353)
We suspect this is happening because the table we are trying to get seems to have a streaming buffer that is empty. Here is what some of the table info looks like:
...
"numBytes": "85168232",
"numLongTermBytes": "0",
"numRows": "144534",
"creationTime": "1468884348851",
"lastModifiedTime": "1469135551174",
"type": "TABLE",
"location": "US",
"streamingBuffer": {
"estimatedRows": "0",
"estimatedBytes": "0"
}
From all the documentation it looks like this maybe isn't supposed to happen at all. But, it seems to be happening here, and resulting in an NPE.
Metadata
Metadata
Assignees
Labels
No labels