[
https://issues.apache.org/jira/browse/BEAM-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321677#comment-16321677
]
ASF GitHub Bot commented on BEAM-3452:
--------------------------------------
chamikaramj opened a new pull request #4390: [BEAM-3452] Updates the error
message when trying to execute an export job on a non-existing BQ table.
URL: https://github.com/apache/beam/pull/4390
Follow this checklist to help us incorporate your contribution quickly and
easily:
- [ ] Make sure there is a [JIRA
issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the
change (usually before you start working on it). Trivial changes like typos do
not require a JIRA issue. Your pull request should address just this issue,
without pulling in other changes.
- [ ] Each commit in the pull request should have a meaningful subject line
and body.
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue.
- [ ] Write a pull request description that is detailed enough to
understand what the pull request does, how, and why.
- [ ] Run `mvn clean verify` to make sure basic checks pass. A more
thorough check will be performed on your pull request automatically.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
---
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> NullPointerException when executing BigQuerySourceBase.split()
> --------------------------------------------------------------
>
> Key: BEAM-3452
> URL: https://issues.apache.org/jira/browse/BEAM-3452
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-gcp
> Reporter: Chamikara Jayalath
> Assignee: Chamikara Jayalath
>
> If we try to try to start an BQ export job (during read) for a non-existing
> table we'll get an NullPointerException at [1] due to 'null' being returned
> at [2].
> [1]
> https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQuerySourceBase.java#L104
> [2]
> https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java#L430
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)