Skip to content
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

Add params to row-filter and modify to be used multiple at the same time #174

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bogo96
Copy link

@bogo96 bogo96 commented May 16, 2022

  • add params
  • allow multi-use
  • modify config as changes

Related Issue

#171

@google-cla
Copy link

google-cla bot commented May 16, 2022

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).

For more information, open the CLA check for this pull request.

@thinhha
Copy link
Contributor

thinhha commented May 16, 2022

/gcbrun

@thinhha thinhha self-requested a review May 16, 2022 20:00
@thinhha
Copy link
Contributor

thinhha commented May 16, 2022

Hi @bogo96 thanks for this amazing first contributions!

I've approved for both Github Actions and Cloud Run to run on your PR. Looks like Github Actions is failing because of #70 (there is no workaround).

The Cloud Build logs are not directly visible in Github so I need to share them with you here. The tests are currently failing due to:

Failed to parse Rule Binding with error:
Config ID: T3_DQ_1_EMAIL_DUPLICATE must define non-empty value: 'row_filter_ids'.

This is because of #174 (comment). What do you think about (2) allow one-of 'row_filter_id' which is a string or 'row_filter_ids' which is a list instead?

BTW wanted to check if you are able to run make test from where you are creating this PR?

Thanks again!
Thinh

@bogo96
Copy link
Author

bogo96 commented May 17, 2022

Hi @bogo96 thanks for this amazing first contributions!

I've approved for both Github Actions and Cloud Run to run on your PR. Looks like Github Actions is failing because of #70 (there is no workaround).

The Cloud Build logs are not directly visible in Github so I need to share them with you here. The tests are currently failing due to:

Failed to parse Rule Binding with error:
Config ID: T3_DQ_1_EMAIL_DUPLICATE must define non-empty value: 'row_filter_ids'.

This is because of #174 (comment). What do you think about (2) allow one-of 'row_filter_id' which is a string or 'row_filter_ids' which is a list instead?

BTW wanted to check if you are able to run make test from where you are creating this PR?

Thanks again! Thinh

Hi, I really appreciated with your review. I wonder how to make test in my local.
I think i have to do something to my gcp project and dataset. Cause once I ran make test, there are some fails about not exist of table which in bigquery-public-data project even though I made contact_details table in my dataset.
Is there any guide about it?

@bogo96 bogo96 requested a review from thinhha May 17, 2022 02:25
thinhha
thinhha previously approved these changes May 23, 2022
Copy link
Contributor

@thinhha thinhha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks! I will create a separate PR to create a few more test for this PR before merging to main.

@thinhha
Copy link
Contributor

thinhha commented Oct 21, 2022

Thanks for this @bogo96 & apologies for the delay.
@AmandeepSinghCS will start looking into adding tests to this change. We may need to recreate the change in a different branch to run the tests, and then figure out how to merge those changes back into this branch to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants