Skip to content
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

Sync only exposures is not working properly #141

Closed
Vitor-Avila opened this issue Nov 1, 2022 · 0 comments
Closed

Sync only exposures is not working properly #141

Vitor-Avila opened this issue Nov 1, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Vitor-Avila
Copy link
Contributor

After the implementation of #130, users should be able to trigger a sync only for exposures, by using the --select parameter and filtering for a tag that isn't used on dbt.

However, this approach is not working properly - after running below command, no changes are applied to the exposures.yml file:

preset-cli --workspaces=$PRESET_WORKSPACE \
superset sync dbt-core $MANIFEST_PATH \
--project=$PROJECT_NAME --target=$TARGET_NAME --profiles=$PROFILES_PATH \
--exposures=$EXPOSURES_PATH \
--import-db \
--select tag:not-existent

Also, it would be beneficial to implement a particular command to allow this approach (something like --exposures-only) rather than having to use the --select filter and excluding everything.

@betodealmeida betodealmeida added the bug Something isn't working label Nov 3, 2022
@betodealmeida betodealmeida self-assigned this Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants