MiguelAnzoWizeline commented on a change in pull request #15183:
URL: https://github.com/apache/beam/pull/15183#discussion_r681907281



##########
File path: 
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java
##########
@@ -1630,4 +1671,17 @@ public QuerySplitter getQuerySplitter() {
       return DatastoreHelper.getQuerySplitter();
     }
   }
+
+  private static GoogleJsonError.ErrorInfo getErrorInfo(Exception e) {
+    if (!(e instanceof GoogleJsonResponseException)) {
+      return null;
+    }
+    GoogleJsonError jsonError = ((GoogleJsonResponseException) e).getDetails();
+    GoogleJsonError.ErrorInfo errorInfo = 
Iterables.getFirst(jsonError.getErrors(), null);
+    return errorInfo;
+  }
+
+  private static String getNameSpace(String projectId, String namespace) {

Review comment:
       Change done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to