Skip to content
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

BUG: CLOB contents are translated to different language even though there is an entry made in English #114

Open
vnykmr36 opened this issue Mar 1, 2024 · 4 comments
Labels
bug Something isn't working reproduction missing

Comments

@vnykmr36
Copy link

vnykmr36 commented Mar 1, 2024

Table desc:

SQL> desc abcd
 Name     Null?    Type
 -------- -------- -------------
 ID       NOT NULL NUMBER(38)
 NAME              VARCHAR2(80)
 IMAG              BLOB
 DESCR             CLOB

Insert statement:

SQL> insert into abcd select rownum, dbms_random.string('p',60), UTL_RAW.CAST_TO_RAW('This is a test insert into blob column'), to_clob('This is a test insert into clob column') from xmltable('1 to 10');

Source DB inserted data:

SQL> select * from abcd where id=10;

        ID NAME                 IMAG                           DESCR
---------- -------------------- ------------------------------ ------------------------------
        10 :"(mjs`j""NsacxJ^N W 546869732069732061207465737420 This is a test insert into clo
           B?qvqClLJ>H;+_#2Ka9E 696E7365727420696E746F20626C6F b column
           g9[B%vAiwe%?~&%,Fu:5 6220636F6C756D6E

Payload in the file:

{"c_scn":410072,"c_idx":11,"xid":"0x0009.01c.000001a4","payload":[{"op":"c","schema":{"owner":"TEST","table":"ABCD"},"after":{"ID":10,"NAME":":\"(mjs`j\"\"NsacxJ^N WB?qvqClLJ>H;+_#2Ka9Eg9[B%vAiwe%?~&%,Fu:5","IMAG":"546869732069732061207465737420696e7365727420696e746f20626c6f6220636f6c756d6e","DESCR":"周楳<2069>猠愠瑥獴<2069>湳敲琠楮瑯<2063>汯戠捯汵浮"}}]}

The issue is true for all 10 rows inserted.

@vnykmr36
Copy link
Author

vnykmr36 commented Mar 1, 2024

I've used to_clob function while inserting.

@bersler bersler added bug Something isn't working reproduction missing labels Mar 1, 2024
@bersler
Copy link
Owner

bersler commented Mar 3, 2024

Can you please provide reproduction steps:

  1. take docker image for OLR + Oracle (preferred: https://github.com/bersler/OpenLogReplicator-tutorials so that the fault can be reproduced on Oracle XE)
  2. set configuration of OLR to ... (preferred: json file)
  3. run some SQL commands, restart, whatever else
  4. achieve fault

or alternatively for other errors:

  1. OLR configuration file
  2. OLR checkpoint file set
  3. set of redo log files which contain error
  4. achieve fault

@bersler
Copy link
Owner

bersler commented Mar 28, 2024

Hi @vnykmr36 . Did you have chance to find a way to reproduce the issue?
I have tested CLOB and all works good. To fix it I need either the redo log files or a list of steps to reproduce it.
If the problem is not possible to reproduce, I will close the ticket and we can open it back when the problem appears.

@bersler
Copy link
Owner

bersler commented May 8, 2024

I still am unable to reproduce the issue, I plan to close this issue if nothing changes till end of may.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reproduction missing
Projects
None yet
Development

No branches or pull requests

2 participants