Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BigQuery: Add Routines API.#8491

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tswast merged 7 commits intogoogleapis:masterfromtswast:bq-routines
Jun 28, 2019
Merged

Conversation

@tswast
Copy link
Contributor

Adds support for managing permanent functions in BigQuery, such
as scalar UDFs and stored procedures. At present, only
scalar UDF functionality is available.

Routines are registered as resources inside of datasets, and
allow expected CRUD operations. Currently, routines do not
support partial updates.

See:https://cloud.google.com/bigquery/docs/reference/rest/v2/routines

Adds support for managing permanent functions in BigQuery, suchas scalar UDFs and stored procedures.  At present, onlyscalar UDF functionality is available.Routines are registered as resources inside of datasets, andallow expected CRUD operations.  Currently, routines do notsupport partial updates.See:https://cloud.google.com/bigquery/docs/reference/rest/v2/routines
@tswasttswast added the api: bigqueryIssues related to the BigQuery API. labelJun 27, 2019
@googlebotgooglebot added the cla: yesThis human has signed the Contributor License Agreement. labelJun 27, 2019
@tswasttswast marked this pull request as ready for reviewJune 28, 2019 20:07
@tswasttswast requested review froma team andshollymanJune 28, 2019 20:07
Copy link
Contributor

@shollymanshollyman left a comment

Choose a reason for hiding this comment

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

One thing I'm not seeing in here is the ddlTargetRoutine in querystats for query jobs. Other than that, it looks like good coverage and samples.

)
returnModel.from_api_repr(api_response)

defupdate_routine(self,routine,fields,retry=DEFAULT_RETRY):
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we have something in the docstring about partial update support b/134928435?


@property
defimported_libraries(self):
"""List[str]: The path of the imported JavaScript libraries.
Copy link
Contributor

Choose a reason for hiding this comment

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

We should be clearer that this is a set of GCS paths e.g. gs://my-bucket/path/to/lib1.js, not js import/require statements.

@tswasttswast merged commit226cdf1 intogoogleapis:masterJun 28, 2019
@tswasttswast deleted the bq-routines branchJune 28, 2019 23:47
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@shollymanshollymanshollyman approved these changes

Assignees

No one assigned

Labels

api: bigqueryIssues related to the BigQuery API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@tswast@shollyman@googlebot

[8]ページ先頭

©2009-2025 Movatter.jp