Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question Load UTF-8 File with BOM in jdbc method for Teradata

More
26 Jan 2017 11:35 #1 by Cedric
Cedric created the topic: Load UTF-8 File with BOM in jdbc method for Teradata
Hi,

we used to load files with TPT method.
These files are in UTF-8 with BOM

We want to load them with the jdbc method. The job fail because it detect the BOM like a character to load...



Any idea or tips to succeed in thie task ?
Attachments:
More
27 Jan 2017 17:11 #2 by Thomas BLETON
Thomas BLETON replied the topic: Load UTF-8 File with BOM in jdbc method for Teradata
Hi,
When choosing the "jdbc" load method, this template will use Stambia's JDBC File driver.
Java is not friend with UTF-8 BOM :)
What you can do is implement a Transformation script in your File metadata, which will ignore the heading BOM when reading the file.
We can share an example if you want.

Just for curiosity: why using jdbc instead of tpt?