Skip to Main Content

GoldenGate

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

BLOB source column type in Hive database

3309490Sep 28 2017 — edited Sep 28 2017

I have enabled data replication from an Oracle database to a Hive database.

I have a data replication problem for tables that in the source DB have BLOB columns that contain XML files.

The data is reported incorrectly in the target db because the carriage returns (\r\n) defined in the XML file are dirty.

In practice, if you capture 1 row of the source table in the Hive target database I have 23 lines:

source data:



I did some tests:

MAP XDM.SYSINT_REMIT_TABLE4, target DL_XDMGAS.SYSINT_REMIT_TABLE4, COLMAP (usedefaults, day = @DATE ('YYYY-MM-DD', 'YYYY-MM-DD', @GETENV ('GGHEADER', 'COMMITTIMESTAMP')), XML_FILE = @STRSUB (XML_FILE, '\x10 + \x13', '')) KEYCOLS (ID_REMIT_TABLE4);

without success.


Can you give me a hint to solve the problem?

This post has been answered by K.Gan on Sep 28 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2017
Added on Sep 28 2017
5 comments
877 views