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

issue #112 fix for Silver Transformations - Silver Dataflowspec Table… #115

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

dattawalake
Copy link

handling of similar table names

…flowspec Table handling of similar table names
== silver_data_flow_spec_df.targetDetails["table"],
(silver_transformation_json_df.target_table == silver_data_flow_spec_df.targetDetails["table"]) &
((silver_transformation_json_df.database.isNull()) | (
silver_transformation_json_df.database == silver_data_flow_spec_df.targetDetails["database"]))
)
silver_dataflow_spec_df = (
silver_data_flow_spec_df.drop("target_table") # .drop("path")
Copy link
Contributor

Choose a reason for hiding this comment

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

need to add unit tests:

  1. with new database attribute in silver transformation
  2. without database attribute

Copy link
Author

Choose a reason for hiding this comment

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

added unit tests:

  1. with new database attribute in silver transformation
  2. without database attribute
  3. not matching value of database attribute (silver transformation vs onboarding template silver table database name)

…flowspec Table handling of similar table names
@ravi-databricks ravi-databricks merged commit f633936 into databrickslabs:issue_112 Oct 31, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants