Closed JenniferBlau-Mattang closed 3 years ago
Hello @jennifer-bitwerx ,
My suggestion would probably have been exactly/similar to what you did.
At this point, you specify yourself the value so this 0x00
should no longer be part of the value you insert.
Is it possible for you to provide a runnable project with the minimum code to reproduces the issue? We will not be able to reproduce it otherwise since your fix should work so there is something else that's currently missing which we are not aware.
If you wish, you can send the project in private here: info@zzzprojects.com
Best Regards,
Jon
Hello @jennifer-bitwerx ,
Since our last conversation, we haven't heard from you!
Don't hesitate to provide a runnable project with the minimum code to reproduces the issue in private info@zzzprojects.com.
Looking forward to hearing from you,
Jon
Hi! Sorry for the delay, I’m trying to trim out some code to send a sample in. In the meantime, I tested the same code going to sql server rather than postgres and did have success with that. Unfortunately that is not an acceptable solution.
Thanks Jennifer
From: Jonathan Magnan @.> Sent: Monday, July 19, 2021 10:45 AM To: zzzprojects/Bulk-Operations @.> Cc: Jennifer Blau @.>; Mention @.> Subject: Re: [zzzprojects/Bulk-Operations] Strip Characters from Text column (#70)
Hello @jennifer-bitwerxhttps://github.com/jennifer-bitwerx ,
Since our last conversation, we haven't heard from you!
Don't hesitate to provide a runnable project with the minimum code to reproduces the issue in private @.**@.>.
Looking forward to hearing from you,
Jon
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/zzzprojects/Bulk-Operations/issues/70#issuecomment-882607863, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMK2WDJTNAPJEA4SOTKVZ7LTYQ3ATANCNFSM5AODY66A.
No problem, take your time.
As soon as we will get your code we will look at it.
Best Regards,
Jon
Hello @jennifer-bitwerx ,
This issue will be closed since we haven't heard back from you.
However, don't hesitate to contact us once you'll be able to provide more information.
Best Regards,
Jon
I am working with a Bulk insert to load data from a legacy system into a postgres db. The file format has null terminated strings which postgres does not support. Error message from postgres is "ERROR: invalid byte sequence for encoding “UTF8”: 0x00"
I need to strip the null bytes from the text during the bulk insert. I have been attempting to accomplish this with the source value factor, but have had no luck. Do you have any suggestions?
Bulk operation Code:
Build Column mapping