wenybing opened a new issue, #10512:
URL: https://github.com/apache/seatunnel/issues/10512

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   By default, Oracle does not synchronize data in CLOB format. I attempted to 
add this advanced parameter "debezium.lob.enabled=true". However, if a CLOB 
column has no changes, the result of synchronizing the data to the target table 
would be: "__debezium_unavailable_value".
   
   <img width="3142" height="1008" alt="Image" 
src="https://github.com/user-attachments/assets/97f7cdf7-a8e1-4865-b705-46674b676c65";
 />
   
   The commit of debesium DBZ-4321 seems to have fixed this issue. It is 
recommended to upgrade the debesium version to 2.5.0 Final or above.
   
   ### SeaTunnel Version
   
   2.3.12
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env": {
           "shade.identifier": "base64",
           "job.mode": "STREAMING",
           "parallelism": 1,
           "job.name": "oracle-cdc2mysql-lob开启",
           "checkpoint.interval": 10000
       },
       "source": [
           {
               "username": "ZHdzY2Rj",
               "password": "cHJpbWV0b24wMDAwMDA=",
               "plugin_name": "Oracle-CDC",
               "result_table_name": "CDCSource1770778672419",
               "database-names": [
                   "ORCL3"
               ],
               "table-names": [
                   "ORCL3.DWSCDC.USERINFO2_C"
               ],
               "table-names-config": [
                   {
                       "table": "ORCL3.DWSCDC.USERINFO2_C",
                       "primaryKeys": [
                           "USERCODE"
                       ]
                   }
               ],
               "base-url": "jdbc:oracle:thin:@127.0.0.1:1521:orcl3sid",
               "startup.mode": "latest",
               "exactly_once": true,
               "debezium": {
                   "lob.enabled": "true"
               },
               "format": "default",
               "schema-changes.enabled": false,
               "schema-names": [
                   "DWSCDC"
               ],
               "handle_blob_as_string": true,
               "use_select_count": false,
               "skip_analyze": false,
               "decimal_type_narrowing": false
           }
       ],
       "transform": [],
       "sink": [
           {
               "user": "cm9vdA==",
               "password": "cHJpbWV0b24wMDAwMDA=",
               "url": 
"jdbc:mysql://127.0.0.1:3306/dwstest?allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&serverTimezone=GMT+8&allowLoadLocalInfile=true&useSSL=false",
               "driver": "com.mysql.cj.jdbc.Driver",
               "database": "dws_720",
               "table": "USERINFO2_C",
               "exactlyOnce": false,
               "plugin_name": "Jdbc",
               "source_table_name": "CDCSource1770778672419",
               "connection_check_timeout_sec": 30,
               "max_retries": 3,
               "batch_size": 1000,
               "batch_interval_ms": 1000,
               "is_exactly_once": false,
               "generate_sink_sql": true,
               "max_commit_attempts": 3,
               "transaction_timeout_sec": -1,
               "auto_commit": true,
               "schema_save_mode": "CREATE_SCHEMA_WHEN_NOT_EXIST",
               "data_save_mode": "APPEND_DATA",
               "field_ide": "ORIGINAL",
               "use_copy_statement": false,
               "handle_blob_as_string": true,
               "primary_keys": [
                   "USERCODE"
               ]
           }
       ]
   }
   ```
   
   ### Running Command
   
   ```shell
   ./seatunnel.sh --config /opt/seatunnel/jobs/oracle-cdc2mysql.json
   ```
   
   ### Error Exception
   
   ```log
   no exception
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to