Closed lostmygithubaccount closed 1 year ago
UPDATE: closed in favor of https://github.com/dbt-labs/dbt-redshift/issues/204
dbt Python models, but on Redshift/AWS
n/a
Redshift/AWS users
not exactly...
seems like the Python cursor API (thanks @dataders) supports reading and writing dataframes: https://docs.aws.amazon.com/redshift/latest/mgmt/python-api-reference.html#python-api-cursor
potentially combine that with something like this: https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/launch-a-spark-job-in-a-transient-emr-cluster-using-a-lambda-function.html
we should investigate the technical feasibility here
Closing as a duplicate of https://github.com/dbt-labs/dbt-redshift/issues/204.
This actually pre-dates #204 by about 4 weeks, but the latter has implementation details and some discussion.
UPDATE: closed in favor of https://github.com/dbt-labs/dbt-redshift/issues/204
Is this your first time submitting a feature request?
Describe the feature
dbt Python models, but on Redshift/AWS
Describe alternatives you've considered
n/a
Who will this benefit?
Redshift/AWS users
Are you interested in contributing this feature?
not exactly...
Anything else?
seems like the Python cursor API (thanks @dataders) supports reading and writing dataframes: https://docs.aws.amazon.com/redshift/latest/mgmt/python-api-reference.html#python-api-cursor
potentially combine that with something like this: https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/launch-a-spark-job-in-a-transient-emr-cluster-using-a-lambda-function.html
we should investigate the technical feasibility here