forked from kiritbasu/datacollector
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDC-12486. Avoid BigQuery.getTable(TableId) throw a NullPointerExcept…
…ion when TableId contains an empty name BigQuery.getTable(tableId) throws a NullPointerException when called with a tableId with an empty name (empty, not null). This is a bug in the Google client implementation. This workaround intends to prevent our software to crash in this case and to show a warning to the user instead while sending their record to error. Change-Id: Ifbdc01242d54ed4ccb077431b8cb6d993b88a90d Reviewed-on: https://review.streamsets.net/c/25791 Tested-by: StreamSets CI <streamsets-ci-spam@streamsets.com> Reviewed-by: Xavier Baqués <xavi@streamsets.com>
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters