beast icon indicating copy to clipboard operation
beast copied to clipboard

Add more debug log for BigQuery Exception

Open devdinu opened this issue 5 years ago • 1 comments

Failed to push records to sink FailureStatus{cause=com.google.cloud.bigquery.BigQueryException: www.googleapis.com, message='null'}

We've cases where push failed (which's retriable), but we don't have the logs, which needs to fixed.

devdinu avatar Mar 06 '19 06:03 devdinu

@devdinu the message will stay null for most of the cases. Failurestatus has two constructors:

public FailureStatus(Exception cause)

and

public FailureStatus(Exception cause, String message)

Mostly I see that we have used the constructor without message. In these cases, message will be null. I think, we should remove this message logic as we are not populating at all. Cause itself is self descriptive

mauliksoneji avatar Apr 09 '19 11:04 mauliksoneji