-
Notifications
You must be signed in to change notification settings - Fork 26
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
[APIC-305] Require sql_type for every column when table_columns is provided #400
Conversation
…pe. Otherwise, perform cleaning process. - Add test for this case
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.
Looks good, just a couple of questions. We should also request a review from someone on team sparkle since this is their AOR
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.
One comment about the check we are using to throw the error
- Fix tests - Use snake case
We now have a test for every case when table_columns are provided |
- Remove duplicate test, add additional sql_type entry to test to be thorough
I removed the test I previously added because I realized it was nearly identical to the test |
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.
LGTM
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.
LGTM
@izzy-zelichenko, would you mind making a followup PR to add an item to the changelog for this? |
@mheilman Sure thing. |
APIC-305
Ensure data types are detected when the destination table does not exist or it is being dropped and table_columns are provided but do not contain a sql_type for every column.