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

Feature/data 1811 databricks io #37

Merged
merged 13 commits into from
Apr 30, 2024
Merged

Conversation

claudiazi
Copy link

@claudiazi claudiazi commented Apr 26, 2024

  • Add databricks io
  • Refactor the DBTConfigParser, make DBTConfigParser an abstract class and AthenaDBTConfigParser and DatabricksDBTConfigParser as Subclasses of DBTConfigParser.
  • Add profile_name and target_name params in dbt-task to identify which dbt-adapter to use & add create_external_athena_table param to identify whether to add extra athena output in the task
  • Add and adjust the related unit tests
  • Enable the template_parameters (inputs, outputs etc.) in the run command

@claudiazi claudiazi requested a review from a team as a code owner April 26, 2024 10:58
@claudiazi claudiazi marked this pull request as draft April 26, 2024 10:58
Copy link

swarmia bot commented Apr 26, 2024

self._profile_name = "databricks"
self._default_catalog = self._target_config.get("catalog")
self._athena_dbt_parser = AthenaDBTConfigParser(default_config_parameters)
self._create_external_athena_table = default_config_parameters.get(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got lost here,. Why do we need an Athena parser inside the Databrics parser?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted! :)

@claudiazi claudiazi marked this pull request as ready for review April 30, 2024 08:57
@claudiazi claudiazi requested review from siklosid and a team April 30, 2024 09:07
@claudiazi claudiazi merged commit 0d3947f into master Apr 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants