Skip to content

Add BigQuery UDF support - #1988

Closed
takbab wants to merge 28 commits into
googleapis:masterfrom
takbab:feature-bigquery-udf
Closed

Add BigQuery UDF support#1988
takbab wants to merge 28 commits into
googleapis:masterfrom
takbab:feature-bigquery-udf

Conversation

@takbab

@takbabtakbab commented Jul 16, 2016

Copy link
Copy Markdown

Add a field to support BigQuery UDF.
https://cloud.google.com/bigquery/docs/reference/v2/jobs

  • configuration.query.userDefinedFunctionResources[]
  • configuration.query.userDefinedFunctionResources[].inlineCode
  • configuration.query.userDefinedFunctionResources[].resourceUri

Closes#1829

@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 16, 2016
@tseavertseaver added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. api: bigquery Issues related to the BigQuery API. labels Jul 16, 2016
user_defined_function_resources = _TypedProperty('user_defined_function_resources', list)
"""See:
https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.userDefinedFunctionResources
"""

This comment was marked as spam.

@tseaver

Copy link
Copy Markdown
Contributor

@takbab Thanks for pitching in on this feature!

@takbab

Copy link
Copy Markdown
Author

@tseaver Thanks for checking!

Comment threadgcloud/bigquery/job.py Outdated
_flatten_results = None
_priority = None
_use_query_cache = None
_user_defined_function_resources = None

This comment was marked as spam.

@googlebot

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

@googlebotgooglebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Jul 19, 2016
@tseaver

Copy link
Copy Markdown
Contributor

@takbab The e-mail address associated with commit d3dcfcc is not recognized by Github as belonging to your account, and therefore the CLA bot is flagging that commit.

Fixes all Pylint failures of
- missing-returns-doc
- redundant-returns-doc
- ungrouped-imports
Also makes a little headway on missing-raises-doc though it's
unclear if this error should be fixed.
Towards googleapis#1968.
This is because the false positive was fixed in Pylint
1.6.4.
Also fixing some lint related errors (not using arguments
and not using self).
@googlebot

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@takbabtakbab changed the title Add configuration.query.userDefinedFunctionResources to bigquery.jobs.Add BigQuery UDF supportJul 21, 2016
@takbab

Copy link
Copy Markdown
Author

@tseaver I will recreate PR to clean my commits and diff.

@takbabtakbab closed this Jul 21, 2016
@takbab
takbab deleted the feature-bigquery-udf branch July 21, 2016 01:14
@takbabtakbab mentioned this pull request Jul 21, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigqueryIssues related to the BigQuery API.cla: noThis human has *not* signed the Contributor License Agreement.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@takbab@tseaver@googlebot@mbrukman@dhermes@daspecster