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
Remove add_related for TRANSFORMS #5957
Conversation
Co-authored-by: Edgar R. M. <edgar@meltano.com>
…no/meltano into 3330-disable-auto-add-transformers
@kgpayne - This looks very close, with the one exception of some commented-out code snippet and a TODO marker. What's left to do here and do we need to hand off or can you get the remainder complete? |
✅ Deploy Preview for meltano canceled.
|
Changes apply to outdated commit
I've resolved the merge conflict by re-locking poetry. |
@click.option( | ||
"--include-related", | ||
is_flag=True, | ||
help="Also add transform plugins related to the identified discoverable extractor.", | ||
) |
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.
TODO: We may want to call out in migration docs somewhere that the --include-related
CLI arg is removed from meltano add
.
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.
Nice work, @kgpayne ! This looks ready to go.
I believe `--include-related` is deprecated in 2.0.0 as mentioned in meltano#5957
This pr:
As a side effect, this now allows a Transform plugin to be added to a project with an adapter-specific dbt install. However using an adapter-specific dbt with existing Transforms will fail due to a missing
DBT_SOURCE_SCHEMA
env var that was present as a setting in the legacy 'dbt' Transformer plugin definition but is not included in the new adapter-specific Transformer definitions. This should be addressed in a future issue if we wish to support the use of Transforms with adapter-specific dbt Transformers.