-
Notifications
You must be signed in to change notification settings - Fork 22
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
weird bug: apply_for_references breaks under certain conditions #244
Comments
Hi! Thank you so much for your kind words. I really appreciate it. I’ll look into this issue later this week. Thank you for detailed description it definitely will help. |
Good news! I was able to reproduce the bug and am currently exploring it. |
Glad to hear it! I thought I was going crazy trying to debug it 🙈 |
I was able to fix the issue #245. The problem was that the table graph used a shared tables list, which was later sorted by the table size scoring function. I resolved it by clonning the list. A regression test has also been added using sample provided by you. Thank you so much. |
Closes #244 - Fixed an issue where the table graph used a shared tables list, which was later sorted by the table size scoring function. - Added a regression test for RuntimeContext to ensure proper functionality. - Deleted commented code Co-authored-by: Jan Aagaard Meier <janzeh@gmail.com>
Published in v0.2.4. I hope it fixes the issue. |
First of all, thank you for your hard work, and your quick response to issues!
So, I have been debugging this super weird issue, which seems to be specfic to something in our schema most of the afternoon. I managed to boil it down to a very small subset of data, but I have no idea why it happens!
Under certain conditions, apply_for_references to does not work.
Given the following config file:
And the schema from the example on simple references. I've added one table, plus some seed data from our setup. The seed data is what actually makes this break!
Running a dump + restore results in the following error, because the user_id column of the orders table is not transformed
This is happening for me on postgres 15.3 running on docker on OSX. I've tested postgres 16, and the same issues appears.
I've been tearing my hair out, and I have no idea how this happens. I really have you can reproduce it 😅
The text was updated successfully, but these errors were encountered: