File tree 2 files changed +11
-2
lines changed
warehouse/integrations/bigquery
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 1.19.2] ( https://github.com/rudderlabs/rudder-server/compare/v1.19.1...v1.19.2 ) (2024-01-18)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * nil load statistics for bigquery ([ #4328 ] ( https://github.com/rudderlabs/rudder-server/issues/4328 ) ) ([ 48cd75c] ( https://github.com/rudderlabs/rudder-server/commit/48cd75cc9ada8a7ad401089e9204ce1e6d81a5f6 ) )
3
9
4
10
## [ 1.19.1] ( https://github.com/rudderlabs/rudder-server/compare/v1.19.0...v1.19.1 ) (2024-01-16)
5
11
Original file line number Diff line number Diff line change @@ -439,15 +439,18 @@ func (bq *BigQuery) loadTableByAppend(
439
439
440
440
log .Infow ("completed loading" )
441
441
442
- tableStats := & types.LoadTableStats {
443
- RowsInserted : statistics .Load .OutputRows ,
442
+ tableStats := & types.LoadTableStats {}
443
+ if statistics .Load != nil {
444
+ tableStats .RowsInserted = statistics .Load .OutputRows
444
445
}
445
446
response := & loadTableResponse {
446
447
partitionDate : partitionDate ,
447
448
}
448
449
return tableStats , response , nil
449
450
}
450
451
452
+ // jobStatistics returns statistics for a job
453
+ // In case of rate limit error, it returns empty statistics
451
454
func (bq * BigQuery ) jobStatistics (
452
455
ctx context.Context ,
453
456
job * bigquery.Job ,
You can’t perform that action at this time.
0 commit comments