-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional Steps for BQ_Source #1472
base: develop
Are you sure you want to change the base?
Additional Steps for BQ_Source #1472
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the PR description to reflect details and context about the changes. For eg: #1444 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The BUTs seems to be failing, please take a look and fix the errors.
…ugin: Added and modified.
Description: Updated the BigQuery plugin to include additional steps for better handling. Modified Files: Cdfplugin property locators.java File Modified: src/e2e-test/java/io/cdap/plugin/utils/CdfPluginPropertyLocator.java Unit Tests: No changes made to unit tests. |
Build with unit tests is still failing, there are a bunch of checkstyle errors, for eg:
Please check and fix the same |
pom.xml
Outdated
@@ -86,7 +86,7 @@ | |||
<google.cloud.storage.version>2.3.0</google.cloud.storage.version> | |||
<google.cloud.datastore.version>1.105.1</google.cloud.datastore.version> | |||
<google.protobuf.java.version>3.19.4</google.protobuf.java.version> | |||
<google.tink.version>1.3.0-rc3</google.tink.version> | |||
<google.tink.version>1.5.0</google.tink.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I encountered dependency errors while running mvn clean install after resolving all the checkstyle issues. The build was failing due to the outdated version of google.tink.version. Updating it to 1.5.0 resolved the issue, and no other changes were made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please do not make dependency changes in the e2e tests PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactor CdfPluginPropertyLocator alignment and update build dependencies.
-Fixed indentation alignment for partitionFrom, partitionTo, filter and Output Schema.
-Updated pom.xml as it is.
.put("projectId", CdfPluginPropertyLocator.PROJECT_ID) | ||
.put("datasetProjectId", CdfPluginPropertyLocator.DATASET_PROJECT_ID) | ||
.put("dataset", CdfPluginPropertyLocator.DATASET) | ||
.put("table", CdfPluginPropertyLocator.TABLE) | ||
.put("format", CdfPluginPropertyLocator.FORMAT) | ||
.put("path", CdfPluginPropertyLocator.PATH) | ||
.put("sampleSize", CdfPluginPropertyLocator.SAMPLE_SIZE) | ||
.put("delimiter", CdfPluginPropertyLocator.DELIMITER) | ||
.put("skipHeader", CdfPluginPropertyLocator.SKIP_HEADER) | ||
.put("pathSuffix", CdfPluginPropertyLocator.SUFFIX) | ||
.put("encryptionKeyName", CdfPluginPropertyLocator.CMEK_KEY) | ||
.put("serviceAccountType", CdfPluginPropertyLocator.SERVICE_ACCOUNT_TYPE) | ||
.put("serviceAccountFilePath", CdfPluginPropertyLocator.SERVICE_ACCOUNT_PATH) | ||
.put("serviceAccountJSON", CdfPluginPropertyLocator.SERVICE_ACCOUNT_JSON) | ||
.put("truncateTable", CdfPluginPropertyLocator.TRUNCATE_TABLE) | ||
.put("updateTableSchema", CdfPluginPropertyLocator.UPDATE_TABLE_SCHEMA) | ||
.put("topic", CdfPluginPropertyLocator.PUBSUB_TOPIC) | ||
.put("maximumBatchCount", CdfPluginPropertyLocator.PUBSUB_MAXIMUM_BATCH_COUNT) | ||
.put("maximumBatchSize", CdfPluginPropertyLocator.PUBSUB_MAXIMUM_BATCH_SIZE) | ||
.put("publishDelayThreshold", CdfPluginPropertyLocator.PUBSUB_PUBLISH_DELAY_THRESHOLD) | ||
.put("retryTimeout", CdfPluginPropertyLocator.PUBSUB_RETRY_TIMEOUT) | ||
.put("errorThreshold", CdfPluginPropertyLocator.PUBSUB_ERROR_THRESHOLD) | ||
.put("outputSchema", CdfPluginPropertyLocator.OUTPUT_SCHEMA_MACRO_INPUT) | ||
.put("objectsToDelete", CdfPluginPropertyLocator.GCS_DELETE_OBJECTS_TO_DELETE) | ||
.put("objectsToCreate", CdfPluginPropertyLocator.GCS_CREATE_OBJECTS_TO_CREATE) | ||
.put("createFailIfObjectExists", CdfPluginPropertyLocator.GCS_CREATE_FAIL_IF_OBJECT_EXISTS) | ||
.put("gcsMoveSourcePath", CdfPluginPropertyLocator.GCS_MOVE_SOURCE_PATH) | ||
.put("gcsMoveDestinationPath", CdfPluginPropertyLocator.GCS_MOVE_DESTINATION_PATH) | ||
.put("partitionFrom", CdfPluginPropertyLocator.PARTITION_START_DATE) | ||
.put("partitionTo", CdfPluginPropertyLocator.PARTITION_END_DATE) | ||
.put("filter", CdfPluginPropertyLocator.FILTER) | ||
.put("Output Schema-macro-input", CdfPluginPropertyLocator.OUTPUT_SCHEMA) | ||
.build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was unable to add my steps properly in this field because the alignments were incorrect. To fix this, I copied and pasted the same content and added my steps without making any other changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix the code style in your editor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactor CdfPluginPropertyLocator alignment and update build dependencies.
-Fixed indentation alignment for partitionFrom, partitionTo, filter and Output Schema.
-Updated pom.xml as it is.
Then Replace input plugin property: "table" with value: "bqSourceTable" | ||
Then Click on the Get Schema button | ||
Then Enter BigQuery source properties partitionFrom and partitionTo | ||
Then Validate BigQuery source incorrect property error for Partition Start date "<property>" value "<value>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Praveena2607 I don't think the internal review comments have been addressed. Please address all the internal review comments provided earlier in this PR as well. Ref Praveena2607#1
…cies. -Fixed indentation alignment for partitionFrom, partitionTo, filter and Output Schema. -Updated pom.xml for as it is.
Please verify the Scenarios.