-
Notifications
You must be signed in to change notification settings - Fork 52
feat: add code samples for dbt bigframes integration #1898
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
Conversation
# Define a BigFrames UDF to generate a temperature description. | ||
# BigFrames UDFs allow you to define custom Python logic that executes | ||
# directly within BigQuery. This is powerful for complex transformations. | ||
@bpd.udf(dataset='dbt_sample_dataset', name='describe_udf') |
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.
Should we be using session.udf
instead?
@@ -0,0 +1,67 @@ | |||
# This example demonstrates how to build an **incremental dbt Python model** |
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.
Missing license header.
@@ -0,0 +1,58 @@ | |||
# This example demonstrates one of the most general usages of transforming raw |
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.
Missing license header.
@@ -0,0 +1,39 @@ | |||
|
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.
Missing license header.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes b/425362511 🦕