-
Notifications
You must be signed in to change notification settings - Fork 161
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
[ADAP-492] [Feature] Support partition_by and cluster_by on python models when supplied in model configurations #680
Comments
This would be good to have @kalanyuz 🤩 Would you be interested in opening up a PR with your solution? |
Definitely. What do I need?On Apr 25, 2023, at 23:35, Doug Beatty ***@***.***> wrote:
This would be good to have @kalanyuz 🤩
Would you be interested in opening up a PR with your solution?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Awesome @kalanyuz! Here's an overview of the pull request process. After reading that, I'd suggest reading the entire contributing file top-to-bottom. There's a lot of content in there, so please reach out if you get stuck and need any help! |
@dbeatty10 I've submitted a PR here |
(Much older issue for this: #247) |
#681) * support partition_by and cluster_by on python models when supplied in model configurations * add integration test for partitioned models * fix typo on partitionType field
Is this your first time submitting a feature request?
Describe the feature
This issue was previous raised before in #247 but is now marked as stale and closed.
Currently, Python models do not support table creation with
partition_by
andcluster_by
when supplied to the model configuration, despite the spark-bigquery-connector having support for it withindirect
save mode.I believe we can support for both configurations by modifying
materializations/table.sql
dbt-bigquery/dbt/include/bigquery/macros/materializations/table.sql
Line 109 in 1972d72
to something like
Describe alternatives you've considered
No response
Who will this benefit?
All BigQuery users who are looking to create complex models using dataproc
Are you interested in contributing this feature?
yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: