-
Notifications
You must be signed in to change notification settings - Fork 48
Implement Structure.dump_cmd/3 #79
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
Conversation
I think the CI failure is not caused by this change. |
Thank you @maennchen I saw the PR for the other adapters. I'll get this rectified and this should be good to go. |
@maennchen try updating / rebasing this branch off of |
@warmwaffles There is another issue. An |
There are two other failures:
For the second issue, the only thing that comes to mind is to document that users should explicitly set the type in these situations:
instead of
and then I guess there are two options for the tests:
Probably number 1 is better, because this is a super specific thing for sqlite? But let me know if you have a different idea. |
@warmwaffles I've rebased onto |
This is probably a better idea to do. It's probably okay to merge this into |
I haven't forgotten about this, just haven't had time to dig in more. |
I think the actions are only running the first time the PR is opened because of this
I think you need the |
@maennchen would you mind rebasing off of the latest |
@warmwaffles Rebased. Tests seem to be running 👍 |
Excellent, thanks @greg-rychlewski for pointing out that I had that |
btw failed integration tests 1 and 3 can be fixed by updating to the latest commit on ecto/ecto_sql: |
@greg-rychlewski Updated |
@maennchen I sent a PR to your fork to fix the broken unit tests. the planner now returns the cast and dump version of the parameters and it was causing a match error. |
@maennchen if you rebase on master the tests should all pass now |
@greg-rychlewski Still seems to error, unfortunately. |
@maennchen oh it looks like the PR I sent you was reverted: https://github.com/maennchen/ecto_sqlite3/pull/1/files. if that change is re-implemented it should all pass |
@greg-rychlewski Oops, I rebased away your commit. I've brought it back. |
After the update, the following test breaks:
EDIT The error above was fixed with 3d8d9ca |
After the fix 4 tests still fail with similar errors:
|
@maennchen You can add these tags to the ignore list for the integration tests: :selected_as_with_group_by |
@maennchen I believe if you drop the changes made to the |
@warmwaffles I've rebased and it seems the tests are failing again. I've spent more time now rebasing this PR than writing it. I would welcome it if a maintainer makes sure that this PR is incorporated in a way that actually works. |
@maennchen I'll see what I can do and try to retain your original authorship. Definitely want to keep your contributions attached. |
Thanks a ton @maennchen for implementing this. It's been merged and deployed under |
See elixir-ecto/ecto_sql#423
mix.exs
back to released versions.