-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Components - Added more GCP BigQuery components #3914
Conversation
components/gcp/container/component_sdk/python/kfp_component/google/bigquery/_query.py
Outdated
Show resolved
Hide resolved
components/gcp/container/component_sdk/python/kfp_component/google/dataflow/_client.py
Outdated
Show resolved
Hide resolved
components/gcp/container/component_sdk/python/kfp_component/google/bigquery/_query.py
Outdated
Show resolved
Hide resolved
components/gcp/container/component_sdk/python/kfp_component/google/bigquery/_query.py
Outdated
Show resolved
Hide resolved
d4a2b14
to
1fd97eb
Compare
I am a bit unsure what we hope to accomplish with the |
/assign @Ark-kun |
friendly ping @Ark-kun :) |
@hongye-sun or @animeshsingh do you have possibility to review the PR? |
@@ -24,6 +24,39 @@ | |||
# TODO(hongyes): make this path configurable as a environment variable | |||
KFP_OUTPUT_PATH = '/tmp/kfp/output/' | |||
|
|||
|
|||
def query_only(query, project_id, dataset_location='US', job_config=None): |
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.
Can the query
function be used for this purpose? For example, it could work the same when dataset_id
is None
.
for details. | ||
default: '' | ||
type: Dict | ||
outputs: |
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.
Is it possible to have some output, so that more components can be chained to this one? E.g. the table where the results are written.
Reviewed. Thanks for your patience. I would love to merge your components. |
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.
Thanks @NikeNano !
components/gcp/container/component_sdk/python/kfp_component/google/bigquery/_query.py
Outdated
Show resolved
Hide resolved
components/gcp/container/component_sdk/python/kfp_component/google/bigquery/_query.py
Outdated
Show resolved
Hide resolved
components/gcp/container/component_sdk/python/kfp_component/google/bigquery/_query.py
Outdated
Show resolved
Hide resolved
components/gcp/container/component_sdk/python/kfp_component/google/bigquery/_query.py
Outdated
Show resolved
Hide resolved
components/gcp/container/component_sdk/python/kfp_component/google/bigquery/_query.py
Outdated
Show resolved
Hide resolved
I have done some clean up now, thanks for the feedback @Ark-kun and @numerology. I will squash the commits. ~~ Do we want to add one read me for each or one combined? ~~ Added a readme to each of the folders as well. |
c5d693b
to
04afdac
Compare
Thank you for your improvements! |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ark-kun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/test kubeflow-pipeline-frontend-test |
/kubeflow-pipeline-backend-test |
/retest |
1 similar comment
/retest |
/test kubeflow-pipeline-e2e-te |
@NikeNano: The specified target(s) for
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test kubeflow-pipeline-e2e-test |
/retest |
@NikeNano: The specified target(s) for
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test kubeflow-pipeline-e2e-test |
/test kubeflow-pipeline-upgrade-test |
Update the kubeflow GCP components for BigQuery to separate different use cases. The updates are related to this issue #2640
The goal of this PR is to split it up to three different components:
bigquery_query_to_gcs_op - write data to a gcp bucket(and a table)
biqquery_query_op - execute the query
biqquery_query_to_table - write the results to a table in BigQuery