Open W1M0R opened 4 years ago
Did you find any solution for this issue. I am also having the same problem. Any help would be appreciated.
I decided not to use this fdw, instead opting to use Faker directly, via the plpython3u postgres extension.
If you would like to use this fdw, then the other solution would be to specify the exact version of Faker when you install it. I'm not sure which version is required, but you can try Faker version 2.0.4.
Maybe 5960995763f2486ec796b58281e70f3ecbde8f8f fixed this? I accepted that PR.
It does look like that would have resolved the issue. I followed the installation instructions in the README. Does the currently tagged release contain that PR?
The fix is currently merged on default (master) but no release of it was made. With the new release tag link, we can update the installation instructions with the new link.
@guedes can you release a new tag with the fix?
By the way, thanks a lot for this project!
Thanks all for testing. Bumped, tagged and pushed! Hope this work for you now. :blue_heart:
Given the following SQL:
I get the following error in the Postgres logs:
My environment uses Python 3.7 and Faker version 4.1.1 (https://pypi.org/project/Faker/4.1.1/)
Relevant information about the breaking change in Faker can be found here: https://github.com/joke2k/faker/blob/master/docs/fakerclass.rst