Skip to content

Add tables to column warning logs#91

Merged
AndrewCiambrone merged 6 commits intomasterfrom
ajh-add-tables-to-column-warning-logs
Apr 8, 2026
Merged

Add tables to column warning logs#91
AndrewCiambrone merged 6 commits intomasterfrom
ajh-add-tables-to-column-warning-logs

Conversation

@ahartz1
Copy link
Copy Markdown
Collaborator

@ahartz1 ahartz1 commented Apr 8, 2026

When there are columns in the source table that are not in the destination, or vice versa, we log out the columns; however, we do not specify which tables they came from. This PR adds the source and destination tables to the logs (at the end, where they have less likelihood of interfering with existing monitors).

I have also added some things that were required to properly run the tests (to match the directions given in the contributing document).

  • PG_TEST_DATABASE_URL in .env.test.docker
  • MYSQLTEST_DATABASE_URL in .env.test.docker
  • Updating the PATH definition in the Dockerfile to additionally include /root/.pyenv/shims
  • Updating the command in the docker-compose.yml file to ensure the tests are invoked correctly

I also ran black on the files I touched (as noted in the contributing document). I had to revert the changes to the druzhba/table.py file because it failed the linting check here in GitHub.

@ahartz1 ahartz1 requested a review from AndrewCiambrone April 8, 2026 18:59
Copy link
Copy Markdown
Collaborator

@AndrewCiambrone AndrewCiambrone left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@AndrewCiambrone AndrewCiambrone merged commit cfa7eff into master Apr 8, 2026
1 check passed
@AndrewCiambrone AndrewCiambrone deleted the ajh-add-tables-to-column-warning-logs branch April 8, 2026 19:43
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