Skip to content

Commit ec91612

Browse files
authored
chore: applying 1.19.2 hotfixes to main branch (#4331)
1 parent 5276978 commit ec91612

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

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))
39

410
## [1.19.1](https://github.com/rudderlabs/rudder-server/compare/v1.19.0...v1.19.1) (2024-01-16)
511

warehouse/integrations/bigquery/bigquery.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -439,15 +439,18 @@ func (bq *BigQuery) loadTableByAppend(
439439

440440
log.Infow("completed loading")
441441

442-
tableStats := &types.LoadTableStats{
443-
RowsInserted: statistics.Load.OutputRows,
442+
tableStats := &types.LoadTableStats{}
443+
if statistics.Load != nil {
444+
tableStats.RowsInserted = statistics.Load.OutputRows
444445
}
445446
response := &loadTableResponse{
446447
partitionDate: partitionDate,
447448
}
448449
return tableStats, response, nil
449450
}
450451

452+
// jobStatistics returns statistics for a job
453+
// In case of rate limit error, it returns empty statistics
451454
func (bq *BigQuery) jobStatistics(
452455
ctx context.Context,
453456
job *bigquery.Job,

0 commit comments

Comments
 (0)