@@ -116,3 +116,43 @@ Feature: BigQuery source - Verification of BigQuery to GCS successful data trans
116
116
Then Open and capture logs
117
117
Then Verify the pipeline status is "Succeeded"
118
118
Then Verify data is transferred to target GCS bucket
119
+
120
+ @BQ_SOURCE_DATATYPE_TEST @GCS_SINK_MULTI_PART_UPLOAD
121
+ Scenario :Validate successful records transfer from BigQuery to GCS with bucket having delete multi part upload policy enabled
122
+ Given Open Datafusion Project to configure pipeline
123
+ When Expand Plugin group in the LHS plugins list: "Source"
124
+ When Select plugin: "BigQuery" from the plugins list as: "Source"
125
+ When Expand Plugin group in the LHS plugins list: "Sink"
126
+ When Select plugin: "GCS" from the plugins list as: "Sink"
127
+ Then Navigate to the properties page of plugin: "BigQuery"
128
+ And Enter input plugin property: "referenceName" with value: "Reference"
129
+ And Replace input plugin property: "project" with value: "projectId"
130
+ And Enter input plugin property: "datasetProject" with value: "datasetprojectId"
131
+ And Replace input plugin property: "dataset" with value: "dataset"
132
+ Then Override Service account details if set in environment variables
133
+ And Enter input plugin property: "table" with value: "bqSourceTable"
134
+ Then Click on the Get Schema button
135
+ Then Validate output schema with expectedSchema "bqSourceSchemaDatatype"
136
+ Then Validate "BigQuery" plugin properties
137
+ Then Close the BigQuery properties
138
+ Then Navigate to the properties page of plugin: "GCS"
139
+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
140
+ Then Replace input plugin property: "project" with value: "projectId"
141
+ Then Enter GCS sink property path
142
+ Then Select dropdown plugin property: "select-format" with option value: "json"
143
+ Then Validate "GCS" plugin properties
144
+ Then Close the Plugin Properties page
145
+ Then Connect source as "BigQuery" and sink as "GCS" to establish connection
146
+ Then Save the pipeline
147
+ Then Preview and run the pipeline
148
+ Then Wait till pipeline preview is in running state
149
+ Then Open and capture pipeline preview logs
150
+ Then Verify the preview run status of pipeline in the logs is "succeeded"
151
+ Then Close the pipeline logs
152
+ Then Close the preview
153
+ Then Deploy the pipeline
154
+ Then Run the Pipeline in Runtime
155
+ Then Wait till pipeline is in running state
156
+ Then Open and capture logs
157
+ Then Verify the pipeline status is "Succeeded"
158
+ Then Validate the values of records transferred to GCS bucket is equal to the values from source BigQuery table
0 commit comments