You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario Outline: To verify data is getting transferred from BigQuery source to PostgreSQL sink with Advanced operations Upsert and Update for table key
150
+
Given Open Datafusion Project to configure pipeline
151
+
When Expand Plugin group in the LHS plugins list: "Source"
152
+
When Select plugin: "BigQuery" from the plugins list as: "Source"
153
+
When Expand Plugin group in the LHS plugins list: "Sink"
154
+
When Select plugin: "PostgreSQL" from the plugins list as: "Sink"
155
+
Then Connect plugins: "BigQuery" and "PostgreSQL" to establish connection
156
+
Then Navigate to the properties page of plugin: "BigQuery"
157
+
Then Replace input plugin property: "project" with value: "projectId"
158
+
Then Enter input plugin property: "datasetProject" with value: "projectId"
159
+
Then Enter input plugin property: "referenceName" with value: "BQReferenceName"
160
+
Then Enter input plugin property: "dataset" with value: "dataset"
161
+
Then Enter input plugin property: "table" with value: "bqSourceTable"
162
+
Then Click on the Get Schema button
163
+
Then Verify the Output Schema matches the Expected Schema: "bqOutputMultipleDatatypesSchema"
164
+
Then Validate "BigQuery" plugin properties
165
+
Then Close the Plugin Properties page
166
+
Then Navigate to the properties page of plugin: "PostgreSQL"
167
+
Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
168
+
Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
169
+
Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
170
+
Then Replace input plugin property: "database" with value: "databaseName"
171
+
Then Replace input plugin property: "tableName" with value: "targetTable"
172
+
Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
173
+
Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
174
+
Then Enter input plugin property: "referenceName" with value: "targetRef"
175
+
Then Replace input plugin property: "dbSchemaName" with value: "schema"
176
+
Then Select radio button plugin property: "opeationName" with value: "<options>"
177
+
Then Click on the Add Button of the property: "relationTableKey" with value:
178
+
| PostgreSQLTableKey |
179
+
Then Validate "PostgreSQL" plugin properties
180
+
Then Close the Plugin Properties page
181
+
Then Save the pipeline
182
+
Then Preview and run the pipeline
183
+
Then Verify the preview of pipeline is "success"
184
+
Then Click on preview data for PostgreSQL sink
185
+
Then Close the preview data
186
+
Then Deploy the pipeline
187
+
Then Run the Pipeline in Runtime
188
+
Then Wait till pipeline is in running state
189
+
Then Open and capture logs
190
+
Then Verify the pipeline status is "Succeeded"
191
+
Then Validate the values of records transferred to target PostgreSQL table is equal to the values from source BigQuery table
0 commit comments