Skip to content
Advertisement

Tag: google-cloud-platform

I got the following error while pulling data from android studio Firebase

I could not understand the problem. It gave such an error when trying to pull the information from the Realtime Database or code.firebasteki to the screen, what is the problem? Book MainActivity RecyclerView_Config FirebaseDatabaseHelper firebase E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.phonebook, PID: 14998 com.google.firebase.database.DatabaseException: Failed to convert value of type java.lang.Long to String at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.convertString(CustomClassMapper.java:426) at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.deserializeToClass(CustomClassMapper.java:217) at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.deserializeToType(CustomClassMapper.java:179) at

get data with query from document collection and document subcollection in firestore

I have a collection with “grup” name and have a subcollection named “anggota”. Please help me, how to display data by query referring to collection document and subcollection document. Firestore collection: I’ve tried with this query but it doesn’t work, the data doesn’t appear Answer When you are using the following query: It means that you are creating a reference

Apache Beam BigqueryIO.Write getSuccessfulInserts not working

We are creating a simple apache beam pipeline which inserts data into a bigquery table and We are trying to get the tableRows which have been successfully Inserted into the table and tableRows which are errored, the code is as shown in the screenshot According to the following documentation: https://beam.apache.org/releases/javadoc/2.33.0/org/apache/beam/sdk/io/gcp/bigquery/WriteResult.html BigQueryIO.writeTableRows() returns a WriteResult object which has getSuccessfulInserts() which will

Failed to get driver instance for jdbcUrl=jdbc:postgresql:/// error for CloudSQL

I am trying to connect to my GCP projects PostgreSQL CloudSQL instance from my local machine. The PostgreSQL doesn’t have a public IP, only private. I get the below error Failed to get driver instance for jdbcUrl=jdbc:postgresql:///mdm java.sql.SQLException: No suitable driver I have verified that my username, instancename, IAM connectivity is all working fine. The IAM service account I am

Advertisement